Project

General

Profile

« Previous | Next » 

Revision edf9058a

Added by Marc Dequènes almost 16 years ago

  • ID edf9058aada7c29a8dcec2b20b8f07f77932e002

[evol] redirect to home page after logout, instead of login page

View differences:

app/controllers/logon_controller.rb
def logout
session[:user_id] = nil
flash[:message] = 'Logged out'
redirect_to :action => 'login'
redirect_to root_path
end
end

Also available in: Unified diff