2011-07-22 21:58:59 +02:00
|
|
|
class UserController < ApplicationController
|
2011-07-21 20:20:15 +02:00
|
|
|
|
|
|
|
theme :theme_resolver
|
|
|
|
layout "simple"
|
|
|
|
|
|
|
|
def login
|
|
|
|
end
|
|
|
|
|
|
|
|
def logout
|
|
|
|
reset_session
|
|
|
|
flash[:notice] = t(:user_logged_out)
|
|
|
|
redirect_to :action => "login"
|
|
|
|
end
|
|
|
|
|
|
|
|
def authenticate
|
2011-07-22 22:57:36 +02:00
|
|
|
redirect_to :action => 'unknown'
|
|
|
|
#redirect_to :controller => "messages", :action => "index"
|
|
|
|
end
|
|
|
|
|
|
|
|
def setup
|
|
|
|
end
|
|
|
|
|
|
|
|
def unknown
|
2011-07-21 20:20:15 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|