Rob Biedenharn-2 wrote:
On Jan 31, 2010, at 3:50 PM, vihrao wrote:
I tried
%= link_to 'Login', login_user_path(user) %
it did not work
I tried:
%= link_to 'Login', :controller = 'user', :action = 'login' %
that worked.
So I still don't get how the REST Path is defined and can
On Feb 1, 2010, at 12:19 PM, vihrao wrote:
Rob Biedenharn-2 wrote:
On Jan 31, 2010, at 3:50 PM, vihrao wrote:
I tried
%= link_to 'Login', login_user_path(user) %
it did not work
I tried:
%= link_to 'Login', :controller = 'user', :action = 'login' %
that worked.
So I still don't get how the
Thank you. I was confused between named routes and RESTful routes
Rob Biedenharn-2 wrote:
On Feb 1, 2010, at 12:19 PM, vihrao wrote:
Rob Biedenharn-2 wrote:
On Jan 31, 2010, at 3:50 PM, vihrao wrote:
I tried
%= link_to 'Login', login_user_path(user) %
it did not work
I tried:
%=
I have a user controller with login as action.
When I access the index.html.erb file via application.layout file. I get a
error on the login link on the index.html.erb page. I think I am having
dfifficulty in setting up path to an action or even understanding how to set
REST path properly. Can
On Jan 31, 2010, at 2:40 PM, vihrao wrote:
I have a user controller with login as action.
When I access the index.html.erb file via application.layout file. I
get a
error on the login link on the index.html.erb page. I think I am
having
dfifficulty in setting up path to an action or even
I tried
%= link_to 'Login', login_user_path(user) %
it did not work
I tried:
%= link_to 'Login', :controller = 'user', :action = 'login' %
that worked.
So I still don't get how the REST Path is defined and can be used?
Rob Biedenharn-2 wrote:
On Jan 31, 2010, at 2:40 PM, vihrao wrote:
I
On Jan 31, 2010, at 3:50 PM, vihrao wrote:
I tried
%= link_to 'Login', login_user_path(user) %
it did not work
I tried:
%= link_to 'Login', :controller = 'user', :action = 'login' %
that worked.
So I still don't get how the REST Path is defined and can be used?
What do you have in your
7 matches
Mail list logo