search for: return_to_main

Displaying 2 results from an estimated 2 matches for "return_to_main".

2006 Mar 22
3
Parent-Child Tables Help
...i''ve been trying to get this to work for the past few nights with no luck..can someone help me please here are the controller/views. #Controller ---------------------------------------------------------------- class AdminController < ApplicationController def index end def return_to_main # If you have multiple scaffolds on the same view then you will want to change this to # to whatever controller/action shows all the views # (ex: redirect_to :controller => ''AdminConsole'', :action => ''index'') redirect_to :action => '...
2006 Apr 27
7
Role Based Authorization recipe implementation?
i got the rails recipes book, i have now an auth system for users without problems, now i want to made a role based acces for my app, im following the "Role Based Authorization" recipe of the book but i cant make it to work even when the tables created and correctly added data manually definig the roles and rights. als i dont know how to define a right for use all the actions in a