Hi,

I'm trying to overwrite skip_before() of Merb::AbstractController -
currently it doesn't take in :only & :exclude => :action.
So, if I have the following code:

class Merb::AbstractController
  def self.skip_before(filter, action)
    if self.action_name == action
      skip_filter(self._before_filters , filter)
    end
  end
end

Where in the merb-app directory structure do I put it? Why is it
generating an error on self.action_name?

Thanks,
Tiberiu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to