Created
August 2, 2017 16:27
-
-
Save bumble-bee-chuna/4b2ae58502d33be1e0be4020e28226a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class IssuesController < ApplicationController | |
before_action :get_jira_client | |
def index | |
@issues = @jira_client.Issue.all | |
end | |
def show | |
@issue = @jira_client.Issue.find(params[:id]) | |
end | |
end | |
<% @issues.each do |i| %> | |
<div style="border: 1px solid #000;"> | |
<%= i.id %><br /> | |
<%= i.summary %><br /> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment