Module: Superglue::Controller

Includes:
Helpers
Defined in:
lib/superglue/engine.rb

Class Method Summary collapse

Methods included from Helpers

#param_to_dig_path, #redirect_back_with_props_at

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/superglue/engine.rb', line 5

def self.included(base)
  base.include ::Superglue::Rendering
  return unless base.respond_to?(:helper_method)

  base.helper_method :param_to_dig_path
  base.helper_method :render_props
end