module RailsStuff::ResourcesController::HasScopeHelpers
Public Instance Methods
has_scope(*)
click to toggle source
This method overrides default `has_scope` so it include helpers from InstanceMethods
only when this method is called.
Calls superclass method
# File lib/rails_stuff/resources_controller/has_scope_helpers.rb, line 6 def has_scope(*) super.tap { include InstanceMethods } end