# https://groups.google.com/forum/#!msg/rubyonrails-security/dthJ5wL69JE/YzPnFelbFQAJ

ActionDispatch::Routing::RouteSet::Dispatcher.class_eval do
  def controller_reference(controller_param)
    ActiveSupport::Dependencies.constantize("#{controller_param.camelize}Controller")
  end
end
