diff options
| author | hukl <hukl@eight.local> | 2009-01-29 21:40:04 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-01-29 21:40:04 +0100 |
| commit | d4dfdb40329b8e15e6bba022b966984a8a994a87 (patch) | |
| tree | 6e427c2e02308d5b3d554b44d13f2764303da743 /doc/README_FOR_APP | |
| parent | b298d3e8eeb10903bd4640dab7c11d0dc1be9d38 (diff) | |
added the content controller which will be responsible for rendering all public pages later on. added a new custom route for the public url schema as well as a functional test which tests the correct mapping of the custom route
Diffstat (limited to 'doc/README_FOR_APP')
| -rw-r--r-- | doc/README_FOR_APP | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/README_FOR_APP b/doc/README_FOR_APP index fe41f5c..acd2d3f 100644 --- a/doc/README_FOR_APP +++ b/doc/README_FOR_APP | |||
| @@ -1,2 +1,9 @@ | |||
| 1 | Use this README file to introduce your application and point to useful places in the API for learning more. | 1 | CCCMS |
| 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. | 2 | |
| 3 | |||
| 4 | The basic structure of the cccms is built from Nodes. Nodes live within a | ||
| 5 | nested set. When a arbitrary url is entered it is dispatched to the | ||
| 6 | ContentController action render_page. Based on the url parameters the | ||
| 7 | render_page action retrieves the corresponding Node from the database. Rather | ||
| 8 | than walking through the tree of the nested set to find the node, the Node is | ||
| 9 | retrieved directly by its unique_name which matches the url parameters. \ No newline at end of file | ||
