Module: Breezy::Controller

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

Class Method Summary collapse

Methods included from Helpers

#param_to_search_path, #redirect_back_with_bzq, #search_path_to_camelized_param

Methods included from Redirection

#_compute_redirect_to_location, #redirect_back_with_bzq

Class Method Details

.included(base) ⇒ Object



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

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