Major commit adding about information and more before site goes live.
[selectricity] / app / controllers / about_controller.rb
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb
new file mode 100644 (file)
index 0000000..4138694
--- /dev/null
@@ -0,0 +1,20 @@
+class AboutController < ApplicationController
+  layout 'main'
+  
+  before_filter :add_sidebar
+
+  def index
+    redirect_to :action => 'overview'
+  end
+
+  def features
+  end
+
+  private
+  def add_sidebar
+    @sidebar_content = render_to_string :partial => 'sidebar',
+                                        :locals => { :page => action_name }
+  end
+
+end
+

Benjamin Mako Hill || Want to submit a patch?