Revision 8, 0.6 kB
(checked in by falcon, 17 years ago)
|
Tweaks and upgrades, routes/paginate/etc
|
Rev | Line | |
---|
[1] | 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. |
---|
[8] | 3 | require 'will_paginate' |
---|
[1] | 4 | |
---|
[8] | 5 | |
---|
[1] | 6 | class ApplicationController < ActionController::Base |
---|
| 7 | helper :all # include all helpers, all the time |
---|
| 8 | include AuthenticatedSystem |
---|
| 9 | include UserSystem |
---|
[4] | 10 | include SidebarHelper |
---|
[1] | 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 | |
---|
[4] | 16 | end |
---|