]> projects.mako.cc - selectricity/blob - app/controllers/about_controller.rb
added cluster and production scripts
[selectricity] / app / controllers / about_controller.rb
1 class AboutController < ApplicationController
2   layout 'main'
3   
4   before_filter :add_sidebar
5
6   def index
7     redirect_to :action => 'overview'
8   end
9
10   def blog
11     redirect_to "http://blog.selectricity.org"
12   end
13
14   private
15   def add_sidebar
16     @sidebar_content = render_to_string :partial => 'sidebar',
17                                         :locals => { :page => action_name }
18   end
19
20 end
21

Benjamin Mako Hill || Want to submit a patch?