Sha256: 4b4ce90cf7e0dded96654a0b68ce9032eaaeb897b039e637bb1317d3f9b24ba6

Contents?: true

Size: 672 Bytes

Versions: 158

Compression:

Stored size: 672 Bytes

Contents

# Uncomment this if you reference any of your controllers in activate
# require_dependency "application_controller"
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

158 entries across 158 versions & 1 rubygems

Version Path
trusty-cms-5.3.2 lib/generators/extension/templates/extension.rb
trusty-cms-5.3.1 lib/generators/extension/templates/extension.rb
trusty-cms-5.3 lib/generators/extension/templates/extension.rb
trusty-cms-5.2.3 lib/generators/extension/templates/extension.rb
trusty-cms-5.2.2 lib/generators/extension/templates/extension.rb
trusty-cms-5.2.1 lib/generators/extension/templates/extension.rb
trusty-cms-5.2.0 lib/generators/extension/templates/extension.rb
trusty-cms-5.1.0 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.9 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.7 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.6 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.5 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.4 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.3 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.2 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.1 lib/generators/extension/templates/extension.rb
trusty-cms-4.3.5 lib/generators/extension/templates/extension.rb
trusty-cms-5.0.0 lib/generators/extension/templates/extension.rb
trusty-cms-4.3.4 lib/generators/extension/templates/extension.rb
trusty-cms-4.3.3 lib/generators/extension/templates/extension.rb