1 # Filters added to this controller will be run for all controllers in the application.
2 # Likewise, all the methods added will be available for all controllers.
4 class ApplicationController < ActionController::Base
5 include AuthenticatedSystem
7 require_dependency "user"
8 before_filter :add_stylesheets
15 file = "#{Dir.pwd}/public/stylesheets/#{controller_name}.css"
17 @stylesheets << controller_name