app/controllers/issues_controller.rb
# See tools_controller.rb for inherited behavior
See tools_controller.rb for inherited behavior
See tools_controller . rb for inherited behavior
def show
    journal   = Journal.find_by(slug: params[:slug])
    @issue    = Issue.find_by(issue: params[:issue_number], journal_id: journal.id)
    @tool     = @issue
    @editable = @issue
    @title = PageTitle.new title_for :journals, journal.name, @issue.issue
    render "#{Current.theme}/books/show"
  end
def show journal = Journal . find_by ( slug : params [ :slug ] ) @issue = Issue . find_by ( issue : params [ :issue_number ] , journal_id : journal . id ) @tool = @issue @editable = @issue @title = PageTitle . new title_for :journals , journal . name , @issue . issue render "#{Current.theme}/books/show" end
See tools_controller.rb for inherited behavior
See tools_controller . rb for inherited behavior