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:
- 1834 Bytes
1 | Description: |
2 | The extension_controller generator creates stubs for a new controller and |
3 | its views for an extension. |
4 | |
5 | The generator takes an extension name, controller name, and a list of |
6 | views as arguments. The controller name may be given in CamelCase or |
7 | under_score and should not be suffixed with 'Controller'. To create a |
8 | controller within a module, specify the controller name as |
9 | 'module/controller'. |
10 | |
11 | The generator creates a controller class in |
12 | vendor/extension_name/app/controllers with view templates in |
13 | vendor/extension_name/app/views/controller_name, a helper class in |
14 | vendor/extension_name/app/helpers, and a functional test suite in |
15 | vendor/extension_name/test/functional. |
16 | |
17 | Example: |
18 | ./script/generate extension_controller MyExt Assets list show |
19 | |
20 | Controller: vendor/my_ext/app/controllers/assets_controller.rb |
21 | Views: vendor/my_ext/app/views/assets/list.rhtml [...] |
22 | Helper: vendor/my_ext/app/helpers/assets_helper.rb |
23 | Spec: vendor/my_ext/spec/controllers/assets_controller_spec.rb |
24 | Test: vendor/my_ext/test/functional/assets_test.rb (if extension created with "--with-test-unit") |
25 | |
26 | Modules Example: |
27 | ./script/generate extension_controller MyExt 'admin/assets' upload remove |
28 | |
29 | Controller: vendor/my_ext/app/controllers/admin/assets_controller.rb |
30 | Views: vendor/my_ext/app/views/admin/assets/upload.rhtml [...] |
31 | Helper: vendor/my_ext/app/helpers/admin/assets_helper.rb |
32 | Spec: vendor/my_ext/spec/controllers/admin/assets_controller_spec.rb |
33 | Test: vendor/my_ext/test/functional/admin/assets_controller_test.rb (if extension created with "--with-test-unit") |
34 | |
35 | Note: Once you have created an extension controller you will still need to |
36 | map routes to the controller in the extension file. |