search for: superadmin_dashboard_path

Displaying 1 result from an estimated 1 matches for "superadmin_dashboard_path".

2010 May 21
0
Authlogic and Single table inheritance
...eradmin'' def new @user_session = UserSession.new end def create @user_session = UserSession.new(params[:user_session]) if @user_session.save flash[:notice] = t(''user_sessions.flash.create.notice'') redirect_to superadmin_dashboard_path else render :action => :new end end def destroy current_user_session.destroy flash[:notice] = t(''user_sessions.flash.destroy.notice'') redirect_to new_superadmin_session_path end end I would like to allow...