module RailsCom::FilterHelper
Public Instance Methods
whether_filter(filter)
click to toggle source
# File lib/rails_com/action_controller/controller_helper.rb, line 21 def whether_filter(filter) self.get_callbacks(:process_action).map(&:filter).include?(filter.to_sym) end