summaryrefslogtreecommitdiff
path: root/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 /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 'app')
-rw-r--r--app/controllers/content_controller.rb5
-rw-r--r--app/helpers/content_helper.rb2
-rw-r--r--app/views/content/render_page.html.erb2
3 files changed, 9 insertions, 0 deletions
diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb
new file mode 100644
index 0000000..afa093c
--- /dev/null
+++ b/app/controllers/content_controller.rb
@@ -0,0 +1,5 @@
1class ContentController < ApplicationController
2 def render_page
3 end
4
5end
diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb
new file mode 100644
index 0000000..3199604
--- /dev/null
+++ b/app/helpers/content_helper.rb
@@ -0,0 +1,2 @@
1module ContentHelper
2end
diff --git a/app/views/content/render_page.html.erb b/app/views/content/render_page.html.erb
new file mode 100644
index 0000000..af7ef88
--- /dev/null
+++ b/app/views/content/render_page.html.erb
@@ -0,0 +1,2 @@
1<h1>Content#render_page</h1>
2<p>Find me in app/views/content/render_page.html.erb</p>