Hi,

I am new in rails 2.0 and above. I am using rails 2.2.
I have a mapping "map.resources :accounts" in my routes.rb

I am facing the following problem:
I have following code in my erb file
<a href="accounts/select_photo">Photo 1</a>

Whenever I am clicking on this link I am redirecting to the accounts
show method.
I already added "select_photo"  method in my account controller.
Anyone can help urgent. I stuck due to this.
Also, I am very curious about this issue.
Anyone can explain why it has happened?
Please give me solution for the same.

Thanks,
Tushar
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to