Forum: Ruby on Rails how to determine controller and action from filter

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E1f43bafda26307a050d11902752b2a6?d=identicon&s=25 Ball, Donald A Jr (Library) (Guest)
on 2007-01-31 18:02
(Received via mailing list)
Hi all. I've got an authentication before_filter in application.rb that
has a couple of special cases which depend on the controller and action
to which the request is routed. How can I access those data from inside
the filter method?

- donald
10a8337cf8879d37affd54e1cab4d79e?d=identicon&s=25 Andy Koch (Guest)
on 2007-01-31 19:15
(Received via mailing list)
You mean like...





Ball, Donald A Jr (Library) schrieb:
This topic is locked and can not be replied to.