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.

def show
url = (show method’s url with the appended parameter )
puts url # => http://localhost:8080/app/Input/show?cv=xxxxxxxxxx

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs