METHOD URL

K

kevid

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.
 
M

Marius Nünnerich

Hi all,

Does anyone knows how to access a method's url within the method

for instance;

def index
=C2=A0---
--
-- #some code that will append a parameter to the url that will call
the show method.
show
end

def show
url =3D (show method's url with the appended parameter )
puts url =C2=A0 =C2=A0 # =3D> http://localhost:8080/app/Input/show?cv=3Dx= xxxxxxxxx
end

The idea is to be able to access the appended parameter within the
show method.

..will appreciate any idea.

Please do not cross-post.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top