Module: Superglue::Controller

Includes:
Helpers, Redirection
Defined in:
lib/superglue.rb

Constant Summary

Constants included from Helpers

Helpers::POSSIBLE_STANDARD_NAMES

Class Method Summary collapse

Methods included from Helpers

#param_to_search_path, #props_from_form_with, #redirect_back_with_props_at, #search_path_to_camelized_param

Methods included from Redirection

#_compute_redirect_to_location, #redirect_back_with_props_at

Class Method Details

.included(base) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/superglue.rb', line 9

def self.included(base)
  if base.respond_to?(:helper_method)
    base.helper_method :param_to_search_path
    base.helper_method :props_from_form_with
    base.helper_method :search_path_to_camelized_param
  end
end