Conditions in show.rthml?

Hi,

newbie-question:

i have a show.rhtml which generates the continents of the world…in
addition i want show an image map based on the continent. This
image-map(html) is coded in the view-template.

if?
http://domein.com/werelddeel/europa
(logfile > SELECT * FROM werelddelen WHERE
(werelddelen.werelddeel_id = 4)

if?
http://domein.com/werelddeel/azia
(logfile > SELECT * FROM werelddelen WHERE
(werelddelen.werelddeel_id = 3)

ect…

Question: wich conditions must i use…to show the correct imagemap based
on the url…

Grtz…remco

Try inspecting params[:action].

On Aug 18, 9:20 am, Remco S. [email protected]

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