Revision 8, 0.6 kB
(checked in by falcon, 17 years ago)
|
Tweaks and upgrades, routes/paginate/etc
|
Line | |
---|
1 | # Filters added to this controller apply to all controllers in the application. |
---|
2 | # Likewise, all the methods added will be available for all controllers. |
---|
3 | require 'will_paginate' |
---|
4 | |
---|
5 | |
---|
6 | class ApplicationController < ActionController::Base |
---|
7 | helper :all # include all helpers, all the time |
---|
8 | include AuthenticatedSystem |
---|
9 | include UserSystem |
---|
10 | include SidebarHelper |
---|
11 | |
---|
12 | # See ActionController::RequestForgeryProtection for details |
---|
13 | # Uncomment the :secret if you're not using the cookie session store |
---|
14 | protect_from_forgery # :secret => '4beebaba51b43774016f4abdc9f5f657' |
---|
15 | |
---|
16 | end |
---|