Module: BaseEditingBootstrap

Includes:
ActiveSupport::Configurable
Defined in:
lib/base_editing_bootstrap.rb,
lib/base_editing_bootstrap/engine.rb,
lib/base_editing_bootstrap/version.rb,
lib/base_editing_bootstrap/base_model.rb,
lib/base_editing_bootstrap/is_validated.rb,
lib/base_editing_bootstrap/resource_finder.rb,
lib/generators/base_editing_bootstrap/install/install_generator.rb,
lib/generators/base_editing_bootstrap/scaffold/scaffold_generator.rb,
lib/generators/base_editing_bootstrap/cell_override/cell_override_generator.rb,
lib/generators/base_editing_bootstrap/field_override/field_override_generator.rb

Defined Under Namespace

Modules: BaseModel, Forms, Generators, IsValidated, Searches Classes: Engine, ResourceFinder

Constant Summary collapse

VERSION =
File.read(File.join(File.dirname(__FILE__), "./VERSION")).strip

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.deprecatorObject



39
40
41
# File 'lib/base_editing_bootstrap.rb', line 39

def self.deprecator
  @deprecator ||= ActiveSupport::Deprecation.new("1.0", "BaseEditingBootstrap")
end

Instance Method Details

#after_success_create_redirectObject

Configurazione per alterare lo standard di azione post creazione record il default è andare nella pagina di editing del record possibili valori :edit , :index



37
# File 'lib/base_editing_bootstrap.rb', line 37

config_accessor :after_success_create_redirect, default: :edit

#after_success_update_redirectObject

Configurazione per alterare lo standard di azione post aggiornamento record il default è andare nella pagina di editing del record possibili valori :edit , :index



31
# File 'lib/base_editing_bootstrap.rb', line 31

config_accessor :after_success_update_redirect, default: :edit

#inherited_controllerObject

Controller da cui derivare poi il BaseEditingController da cui derivano tutti i controller sottostanti



25
# File 'lib/base_editing_bootstrap.rb', line 25

config_accessor :inherited_controller, default: "ApplicationController"