Class: Stormpath::Rails::Profile::ShowController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/stormpath/rails/profile/show_controller.rb

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
11
# File 'app/controllers/stormpath/rails/profile/show_controller.rb', line 7

def call
  response.headers['Cache-Control'] = 'no-cache, no-store'
  response.headers['Pragma'] = 'no-cache'
  render json: ProfileSerializer.to_h()
end