lib/generators/extension/templates/extension.rb



# 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