Class: UsersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- UsersController
- Includes:
- SocialStream::Controllers::Subjects
- Defined in:
- app/controllers/users_controller.rb
Instance Method Summary collapse
- #create ⇒ Object
- #current ⇒ Object
-
#destroy ⇒ Object
Not supported yet.
- #index ⇒ Object
-
#new ⇒ Object
Supported through devise.
Methods included from SocialStream::Controllers::Subjects
Instance Method Details
#create ⇒ Object
21 |
# File 'app/controllers/users_controller.rb', line 21 def create; end |
#current ⇒ Object
14 15 16 17 18 |
# File 'app/controllers/users_controller.rb', line 14 def current respond_to do |format| format.json { render json: current_user.to_json } end end |
#destroy ⇒ Object
Not supported yet
23 |
# File 'app/controllers/users_controller.rb', line 23 def destroy; end |
#index ⇒ Object
10 11 12 |
# File 'app/controllers/users_controller.rb', line 10 def index raise ActiveRecord::RecordNotFound end |
#new ⇒ Object
Supported through devise
21 |
# File 'app/controllers/users_controller.rb', line 21 def new; end |