Method url

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 # => http://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.

On Fri, Apr 30, 2010 at 18:55, kevid [email protected] wrote:

the show method.

…will appreciate any idea.

Please do not cross-post.