SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
-
Sep 27, 2008, 00:36 #1
PlugIn RoleRequirement and redirects
Hello all,
I need authorisation in my application and stumbled upon the plugin RoleRequirement. It works fine. But I don't like the default behaviour when a user doesn't have proper rights to request an action. The default is just:
Code Ruby:render :nothing => true, :status => 401 return false
Code Ruby:redirect_to new_session_path
Thanks,
oerdec
Bookmarks