Sha256: 60a4d1a43066d2600f1b3ec197c6da81af994bc5e14bf939ccc8cd4350f2e4fe

Contents?: true

Size: 414 Bytes

Versions: 33

Compression:

Stored size: 414 Bytes

Contents

<% if resource.module_name.present? -%>
module <%= resource.module_name %>
  class <%= resource.module_namespaced %>Controller < <%= resource.module_namespace %>ApplicationController
    include Effective::CrudController
  end
end
<% else -%>
class <%= resource.namespaced_class_name.pluralize %>Controller < <%= resource.module_namespace %>ApplicationController
  include Effective::CrudController
end
<% end -%>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
effective_developer-0.8.5 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.8.4 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.8.3 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.8.2 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.8.1 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.8.0 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.8 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.7 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.6 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.5 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.4 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.3 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.2 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.1 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.7.0 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.6.17 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.6.16 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.6.15 lib/scaffolds/basic/controllers/controller.rb
effective_developer-0.6.14 lib/scaffolds/controllers/controller.rb
effective_developer-0.6.13 lib/scaffolds/controllers/controller.rb