Class: Ishapi::My::ReportsController

Inherits:
MyController show all
Defined in:
app/controllers/ishapi/my/reports_controller.rb

Instance Method Summary collapse

Methods inherited from MyController

#account

Methods inherited from ApplicationController

#home, #long_term_token, #test

Instance Method Details

#indexObject



6
7
8
9
# File 'app/controllers/ishapi/my/reports_controller.rb', line 6

def index
  authorize! :my_index, Report
  @reports = @profile.reports
end