Sha256: 1bb329e01e69209f40406501aa0fc1c05ebf918762947ade5dc3ee8590d3bef4

Contents?: true

Size: 626 Bytes

Versions: 27

Compression:

Stored size: 626 Bytes

Contents

# Uncomment this if you reference any of your controllers in activate
require "radiant-<%= file_name %>-extension"

class <%= class_name %> < TrustyCms::Extension
  version     TrustyCms<%= class_name %>::VERSION
  description TrustyCms<%= class_name %>::DESCRIPTION
  url         TrustyCms<%= class_name %>::URL

  # See your config/routes.rb file in this extension to define custom routes

  extension_config do |config|
    # config is the TrustyCms.configuration object
  end

  def activate
    # tab 'Content' do
    #   add_item "<%= extension_name %>", "/admin/<%= file_name %>", :after => "Pages"
    # end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
trusty-cms-7.0.9.1 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.11 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.10 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.9 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.8 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.7 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.6 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.5 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.4 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.3 lib/generators/extension/templates/extension.rb
trusty-cms-6.3.1 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.2 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.1 lib/generators/extension/templates/extension.rb
trusty-cms-7.0.0 lib/generators/extension/templates/extension.rb
trusty-cms-6.3 lib/generators/extension/templates/extension.rb
trusty-cms-6.2.1 lib/generators/extension/templates/extension.rb
trusty-cms-6.2.2.1 lib/generators/extension/templates/extension.rb
trusty-cms-6.2.0 lib/generators/extension/templates/extension.rb
trusty-cms-6.1.2 lib/generators/extension/templates/extension.rb
trusty-cms-6.1.1 lib/generators/extension/templates/extension.rb