Forum: Ruby on Rails Views/Controllers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6f4989f18fb2315d4b1db15cccb29ecf?d=identicon&s=25 Mick (Guest)
on 2007-04-03 02:53
Hello Folks,

A quick question: is there a way that you can return the current
view/controller from within an RHTML file?

Cheers,

Mick
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (Guest)
on 2007-04-03 06:43
(Received via mailing list)
Hi, you can do the following:

view:

first_render

controller:

controller_name

Good luck,

-Conrad
This topic is locked and can not be replied to.