Module: InheritedResources

Defined in:
lib/inherited_resources.rb,
lib/inherited_resources/dsl.rb,
lib/inherited_resources/engine.rb,
lib/inherited_resources/actions.rb,
lib/inherited_resources/version.rb,
lib/inherited_resources/responder.rb,
lib/inherited_resources/blank_slate.rb,
lib/inherited_resources/url_helpers.rb,
lib/inherited_resources/base_helpers.rb,
lib/inherited_resources/class_methods.rb,
lib/inherited_resources/shallow_helpers.rb,
app/controllers/inherited_resources/base.rb,
lib/inherited_resources/singleton_helpers.rb,
lib/inherited_resources/belongs_to_helpers.rb,
lib/inherited_resources/polymorphic_helpers.rb

Defined Under Namespace

Modules: Actions, BaseHelpers, BelongsToHelpers, ClassMethods, DSL, PolymorphicHelpers, ShallowHelpers, SingletonHelpers, UrlHelpers Classes: Base, BlankSlate, Railtie, Responder

Constant Summary collapse

ACTIONS =
[ :index, :show, :new, :edit, :create, :update, :destroy ]
VERSION =
'2.0.1'.freeze

Class Method Summary collapse

Class Method Details

.flash_keys=(array) ⇒ Object

Change the flash keys used by FlashResponder.



26
27
28
# File 'lib/inherited_resources.rb', line 26

def self.flash_keys=(array)
  Responders::FlashResponder.flash_keys = array
end