Displaying 1 result from an estimated 1 matches for "vendor_control".
2006 Jan 04
7
recongizing the current controller in views
alright i am doing a simple self blog in ruby. Now iw ant to be able to
determine which controller action i am in inside _form.rhtml.
So if i am in new or the creation control than i want to insert the text box
for topics else i want to display the topic base on id. (i could do those
already, i just need help finding the right if statement..
something like (if currentpage ==