Class: Sail::ProfilesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Sail::ProfilesController
- Defined in:
- app/controllers/sail/profiles_controller.rb
Overview
ProfilesController
This controller implements all profile related APIs.
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
11 12 13 14 15 16 17 |
# File 'app/controllers/sail/profiles_controller.rb', line 11 def create respond_to do |format| format.js do @profile, @new_record = Sail::Profile.create_or_update_self(s_params[:name]) end end end |