Sha256: 7debbe69cc641e549c916f869ed4251b8147a135c275540c82af9e779287f69d

Contents?: true

Size: 363 Bytes

Versions: 18

Compression:

Stored size: 363 Bytes

Contents

<% model_name = class_name.singularize -%>
<% if namespaced? -%>
require_dependency "<%= namespaced_file_path %>/application_controller"

<% end -%>
<% module_namespacing do -%>
class <%= controller_class_name %>Controller < Edgarj::EdgarjController
private
  def drawer_class
    <%= controller_class_name %>Helper::<%= model_name -%>Drawer
  end
end
<% end -%>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
edgarj-0.02.00 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.30 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.29 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.28 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.27 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.26 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.25 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.24 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.22 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.21 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.20 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.19 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.18 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.17 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.16 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.15 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.13 lib/generators/edgarj/scaffold/templates/controller.rb
edgarj-0.01.12 lib/generators/edgarj/scaffold/templates/controller.rb