Module: Datagrid::ActiveModel::ClassMethods
- Defined in:
- lib/datagrid/active_model.rb
Instance Method Summary collapse
-
#param_name ⇒ String
URL query parameter name of the grid class.
Instance Method Details
#param_name ⇒ String
Returns URL query parameter name of the grid class.
23 24 25 |
# File 'lib/datagrid/active_model.rb', line 23 def param_name self.to_s.underscore.tr('/', '_') end |