summaryrefslogtreecommitdiff
path: root/app/controllers/content_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/content_controller.rb')
-rw-r--r--app/controllers/content_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb
index d1bfa6b..250e6ba 100644
--- a/app/controllers/content_controller.rb
+++ b/app/controllers/content_controller.rb
@@ -1,5 +1,7 @@
1class ContentController < ApplicationController 1class ContentController < ApplicationController
2 2
3 # Public
4
3 before_filter :find_page 5 before_filter :find_page
4 6
5 # This is the method that renders most of the the public content. It recieves 7 # This is the method that renders most of the the public content. It recieves
@@ -27,7 +29,7 @@ class ContentController < ApplicationController
27 29
28 def render_gallery 30 def render_gallery
29 @images = @page.assets.images 31 @images = @page.assets.images
30 render :file => "custom/page_templates/public/gallery"#, :layout => true 32 render :file => "custom/page_templates/public/gallery"
31 end 33 end
32 34
33 private 35 private