Sha256: 406adcd5a07688f3a554b23e62e80976704885681f990e3bc6a0639ab68718eb

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

class ActionController::Base

  # Add the #include_resource and #include_resources macros. 
  def self.resource_inclusion
    
    self.class_eval do
      extend  ResourceInclusion::ClassMethods
      include ResourceInclusion::InstanceMethods
    end
      
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resource_inclusion-0.0.2 lib/resource_inclusion/resource_inclusion.rb
resource_inclusion-0.0.1 lib/resource_inclusion/resource_inclusion.rb