Sha256: e588fcaa6041e7df394afaf7afb08f0f7d25787722d4b093fc310bc0762a628c

Contents?: true

Size: 382 Bytes

Versions: 15

Compression:

Stored size: 382 Bytes

Contents

class BasicExtension < Radiant::Extension
  version "1.1"
  description "just a test"
  url "http://test.com"
  
  define_routes do |map|
    map.connect '/your/routing', :controller => 'basic_extension', :action => 'routing'
    # map.connect ':controller/:action'
  end
  
  def activate
    admin.tabs.add "Basic Extension Tab", "/admin/basic"
  end
  
  def deactivate
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.2.2 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.2.1 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.2 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.1.9 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.1.8 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.1.7 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.1.6 test/fixtures/extensions/01_basic/basic_extension.rb
radiantcms-couchrest_model-0.1.5 test/fixtures/extensions/01_basic/basic_extension.rb
radiant-0.7.2 test/fixtures/extensions/01_basic/basic_extension.rb
radiant-0.8.2 test/fixtures/extensions/01_basic/basic_extension.rb
radiant-0.8.1 test/fixtures/extensions/01_basic/basic_extension.rb
radiant-0.7.0 test/fixtures/extensions/01_basic/basic_extension.rb
radiant-0.7.1 test/fixtures/extensions/01_basic/basic_extension.rb
radiant-0.8.0 test/fixtures/extensions/01_basic/basic_extension.rb