public
Description: Restrict the params which we allow to get through to the action
Homepage:
Clone URL: git://github.com/jonleighton/restrict_params.git
restrict_params / init.rb
100644 3 lines (2 sloc) 0.131 kb
1
2
3
require File.dirname(__FILE__) + "/lib/restrict_params"
ActionController::Base.send :include, RestrictParams::ControllerExtensions