Sha256: 508be9dc2ef4f5efcaf2fc92b2146c43723179f21c9c49e3f056cff95051e20d

Contents?: true

Size: 545 Bytes

Versions: 26

Compression:

Stored size: 545 Bytes

Contents

# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'

class ExampleExtension < Radiant::Extension
  version "1.0"
  description "Describe your extension here"
  url "http://yourwebsite.com/example"
  
  # define_routes do |map|
  #   map.connect 'admin/example/:action', :controller => 'admin/example'
  # end
  
  def activate
    # admin.tabs.add "Example", "/admin/example", :after => "Layouts", :visibility => [:all]
  end
  
  def deactivate
    # admin.tabs.remove "Example"
  end
  
end

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
radiant-1.0.0.rc2 spec/fixtures/example_extension/example_extension.rb
radiant-1.0.0.rc1 spec/fixtures/example_extension/example_extension.rb
radiant-rails3-0.1 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.2.4 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.2.2 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.2.1 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.2 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.9 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.8 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.7 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.6 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.5 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.4 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.3 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.2 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1.1 spec/fixtures/example_extension/example_extension.rb
radiantcms-couchrest_model-0.1 spec/fixtures/example_extension/example_extension.rb
radiant-0.7.2 spec/fixtures/example_extension/example_extension.rb
radiant-0.9.1 spec/fixtures/example_extension/example_extension.rb
radiant-0.8.2 spec/fixtures/example_extension/example_extension.rb