Sha256: 74a7b0564f192e7031ffdd4df21b5f4b4e6fa6e96cb20e8a600d1a4f04639214

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application_controller'
class <%= class_name %> < Radiant::Extension
  version YAML::load_file(File.join(File.dirname(__FILE__), 'VERSION'))
  description "Describe <%= extension_name %> here"
  url "<%= homepage %>"

  # DEPRECATED
  # extension_config do |config|
  #   config.gem 'some-awesome-gem'
  #   config.after_initialize do
  #     run_something
  #   end
  # end

  # See your config/routes.rb file in this extension to define custom routes
  
  def activate
    # tab 'Content' do
    #   add_item "<%= extension_name %>", "/admin/<%= file_name %>", :after => "Pages"
    # end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-rails3-0.1 lib/generators/extension/templates/extension.rb