Module: ResourcefulParenting::ActionController::Base

Defined in:
lib/resourceful_parenting.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/resourceful_parenting.rb', line 3

def self.included(klass)
  klass.class_eval do
    include InstanceMethods
    helper_method :polymorphic_p_url, :polymorphic_p_path
  end
  super
end