Sha256: 0f28943ec0e945f5a30bf4073c41896ee74e09c8d4ba710a67650f2c555e2f60
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 Bytes
Contents
# Gatleon Params2 remove action and controller from your rails params ## Installation Add this line to your application's Gemfile: ```ruby gem "gatleon-rails" ``` And then execute: ``` $ bundle install ``` Add to your application_controller.rb ```ruby class ApplicationController < ActionController::Base include Gatleon::Params2 ... def some_action params2 # access params2 (query and post params from request - but without action, controller keys.) end end ``` ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gatleon-params2-0.1.0 | README.md |