Sha256: 6049f761b087dacbc0e7c4c0158ca33d14e68f3a32e010ac2f3cf557d7a19a8a

Contents?: true

Size: 657 Bytes

Versions: 18

Compression:

Stored size: 657 Bytes

Contents

module ErpApp
  module <%= container_class_name %>
    module <%= application_class_name %>
	  class  <%= class_name %>Controller < BaseController

        active_ext <%= class_name %> do |options|
		  options[:inline_edit] = true
		  options[:ignore_associations] = true
		  options[:show_id] = true
		  options[:show_timestamps] = true

		  #additional options
		  #options[:use_ext_forms] = false
		  #options[:only] = [ {:internal_identifier => {:required => true, :readonly => false}}]
		  options
	    end

	  end #<%= class_name %>Controller
	end #<%= application_class_name %>
  end #<%= container_class_name %>
end #ErpApp


Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
erp_app-4.0.0 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.16 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.15 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.14 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.13 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.12 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.11 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.10 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.9 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.8 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.7 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.6 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.5 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.4 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.3 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.2 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.1 lib/generators/active_ext/templates/controllers/controller_template.erb
erp_app-3.1.0 lib/generators/active_ext/templates/controllers/controller_template.erb