Class: UsersController

Inherits:
ApplicationController
  • Object
show all
Includes:
SocialStream::Controllers::Subjects
Defined in:
app/controllers/users_controller.rb

Instance Method Summary collapse

Methods included from SocialStream::Controllers::Subjects

#profile_subject

Instance Method Details

#createObject



21
# File 'app/controllers/users_controller.rb', line 21

def create; end

#currentObject



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

#destroyObject

Not supported yet



23
# File 'app/controllers/users_controller.rb', line 23

def destroy; end

#indexObject

Raises:

  • (ActiveRecord::RecordNotFound)


10
11
12
# File 'app/controllers/users_controller.rb', line 10

def index
  raise ActiveRecord::RecordNotFound
end

#newObject

Supported through devise



21
# File 'app/controllers/users_controller.rb', line 21

def new; end