Class: ClWiki::SessionsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/cl_wiki/sessions_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#authorized, #current_owner, #current_user, #expire_old_session, #initialize_index, #logged_in?

Instance Method Details

#createObject



12
13
14
15
16
# File 'app/controllers/cl_wiki/sessions_controller.rb', line 12

def create
  auth_user_and_setup_session ?
    redirect_to(root_url) :
    redirect_to()
end

#destroyObject



18
19
20
21
# File 'app/controllers/cl_wiki/sessions_controller.rb', line 18

def destroy
  reset_session
  redirect_to 
end

#newObject



9
10
# File 'app/controllers/cl_wiki/sessions_controller.rb', line 9

def new
end