Hi all,
Does anyone knows how to access a method''s url within the method
for instance;
def index
---
--
-- #some code that will append a parameter to the url that will call
the show method.
show
end
def show
url = (show method''s url with the appended parameter )
puts url # => localhost:8080/app/Input/show?cv=xxxxxxxxxx
end
The idea is to be able to access the appended parameter within the
show method.
..will appreciate any idea.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
groups.google.com/group/rubyonrails-talk?hl=en.