How to determine controller and action from filter

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

You mean like…





Ball, Donald A Jr (Library) schrieb: