Class: Stormpath::Rails::Profile::ShowController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Stormpath::Rails::Profile::ShowController
- Defined in:
- app/controllers/stormpath/rails/profile/show_controller.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
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(current_account) end |