Sha256: 3e4a049f24fbd45eb6853209eec77d5d8b6168a14a354dc2598a5613ea0d1e79

Contents?: true

Size: 151 Bytes

Versions: 28

Compression:

Stored size: 151 Bytes

Contents

class CMS::<%= @name.pluralize %>Controller < CMS::BaseController
  helper_method :subject

  protected

  def subject
    CMS::<%= @name %>
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
honey-cms-0.4.8 lib/generators/cms/templates/type_controller.rb
honey-cms-0.4.7 lib/generators/cms/templates/type_controller.rb
honey-cms-0.4.6 lib/generators/cms/templates/type_controller.rb
honey-cms-0.4.5 lib/generators/cms/templates/type_controller.rb
honey-cms-0.4.2 lib/generators/cms/templates/type_controller.rb
honey-cms-0.4.1 lib/generators/cms/templates/type_controller.rb
honey-cms-0.4.0 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.13 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.12 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.11 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.10 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.9 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.8 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.7 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.5 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.4 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.3 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.2 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.1 lib/generators/cms/templates/type_controller.rb
honey-cms-0.3.0 lib/generators/cms/templates/type_controller.rb