Displaying 1 result from an estimated 1 matches for "error_detail".
Did you mean:
error_details
2009 Dec 30
2
relating controllers... How to?
...--------------------------------------------------------------------
Error_type1 | 5 | Show Error Detail Link
--------------------------------------------------------------------
then I put in " Show Error Detail Link " a <%= link_to
"Show", :controller => "error_details" ,:action =>
"index", :task_errore => error.type %>
and create method in error_details controller as
def index(task_errore)
if !session[:user_id]
redirect_to :controller => ''user'', :action => ''login''
else
@ng...