# File lib/action_controller/dispatcher.rb, line 14 def before_dispatch(*method_names, &block) callbacks[:before].concat method_names callbacks[:before] << block if block_given? end