Class: Iro::ApplicationController

Inherits:
Wco::ApplicationController
  • Object
show all
Defined in:
app/controllers/iro/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#homeObject



13
14
15
# File 'app/controllers/iro/application_controller.rb', line 13

def home
  authorize! :home, Iro
end

#schwab_syncObject



17
18
19
20
# File 'app/controllers/iro/application_controller.rb', line 17

def schwab_sync
  authorize! :shwab_sync, Iro
  render json: Iro::Iro.schwab_sync
end