Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 545 Bytes
1 | # Uncomment this if you reference any of your controllers in activate |
2 | # require_dependency 'application' |
3 | |
4 | class ExampleExtension < Radiant::Extension |
5 | version "1.0" |
6 | description "Describe your extension here" |
7 | url "http://yourwebsite.com/example" |
8 | |
9 | # define_routes do |map| |
10 | # map.connect 'admin/example/:action', :controller => 'admin/example' |
11 | # end |
12 | |
13 | def activate |
14 | # admin.tabs.add "Example", "/admin/example", :after => "Layouts", :visibility => [:all] |
15 | end |
16 | |
17 | def deactivate |
18 | # admin.tabs.remove "Example" |
19 | end |
20 | |
21 | end |