2 class ReportersController < ApplicationController
5 before_action :authorize_web
6 before_action :set_locale
7 before_action :check_database_readable
9 authorize_resource :issue
12 @issue = Issue.visible_to(current_user).find(params[:issue_id])
13 rescue ActiveRecord::RecordNotFound
14 redirect_to :controller => "/errors", :action => "not_found"