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.
Mick (Guest)
on 2007-04-03 04: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
Conrad T. (Guest)
on 2007-04-03 08: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.