summaryrefslogtreecommitdiff
path: root/doc/README_FOR_APP
diff options
context:
space:
mode:
authorhukl <hukl@eight.local>2009-01-29 21:40:04 +0100
committerhukl <hukl@eight.local>2009-01-29 21:40:04 +0100
commitd4dfdb40329b8e15e6bba022b966984a8a994a87 (patch)
tree6e427c2e02308d5b3d554b44d13f2764303da743 /doc/README_FOR_APP
parentb298d3e8eeb10903bd4640dab7c11d0dc1be9d38 (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_APP11
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 @@
1Use this README file to introduce your application and point to useful places in the API for learning more. 1CCCMS
2Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 2
3
4The basic structure of the cccms is built from Nodes. Nodes live within a
5nested set. When a arbitrary url is entered it is dispatched to the
6ContentController action render_page. Based on the url parameters the
7render_page action retrieves the corresponding Node from the database. Rather
8than walking through the tree of the nested set to find the node, the Node is
9retrieved directly by its unique_name which matches the url parameters. \ No newline at end of file