]> projects.mako.cc - selectricity/blob - app/controllers/about_controller.rb
minor bugfix
[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 features
11   end
12
13   private
14   def add_sidebar
15     @sidebar_content = render_to_string :partial => 'sidebar',
16                                         :locals => { :page => action_name }
17   end
18
19 end
20

Benjamin Mako Hill || Want to submit a patch?