Revision f39bfd77
Added by Ohad Levy almost 12 years ago
- ID f39bfd77b58289c919444412d63ed09e451da561
app/controllers/application_controller.rb | ||
---|---|---|
before_filter :welcome, :only => :index, :unless => :api_request?
|
||
before_filter :authorize
|
||
|
||
cache_sweeper :topbar_sweeper
|
||
cache_sweeper :topbar_sweeper, :unless => :api_request?
|
||
|
||
def welcome
|
||
@searchbar = true
|
Also available in: Unified diff
minor cleanups for cache invalidations