Sha256: 2e285cb728f9a1eee64ed76783d1cd7d834c8f780b6192841f19a7769d9776e3

Contents?: true

Size: 147 Bytes

Versions: 17

Compression:

Stored size: 147 Bytes

Contents

class <%= controller_class_name %>Controller < InheritedResources::Base
<% if options[:singleton] -%>
  defaults :singleton => true
<% end -%>
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
inherited_resources-1.5.0 lib/generators/rails/templates/controller.rb
inherited_resources-1.4.1 lib/generators/rails/templates/controller.rb
inherited_resources-1.4.0 lib/generators/rails/templates/controller.rb
inherited_resources-1.3.1 lib/generators/rails/templates/controller.rb
inherited_resources-1.3.0 lib/generators/rails/templates/controller.rb
karsthammer-inherited_resources-1.2.2.1 lib/generators/rails/templates/controller.rb
karsthammer-inherited_resources-1.2.2 lib/generators/rails/templates/controller.rb
inherited_resources-1.2.2 lib/generators/rails/templates/controller.rb
karsthammer-inherited_resources-1.2.1.1 lib/generators/rails/templates/controller.rb
karsthammer-inherited_resources-1.2.1 lib/generators/rails/templates/controller.rb
inherited_resources-1.2.1 lib/generators/rails/templates/controller.rb
inherited_resources-1.2.0 lib/generators/rails/templates/controller.rb
karsthammer-inherited_resources-1.1.2.1 lib/generators/rails/templates/controller.rb
karsthammer-inherited_resources-1.1.2 lib/generators/rails/templates/controller.rb
inherited_resources-1.1.2 lib/generators/rails/templates/controller.rb
inherited_resources-1.1.0 lib/generators/rails/templates/controller.rb
inherited_resources-1.1.pre lib/generators/rails/templates/controller.rb