projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make database offline work in production
[rails.git]
/
app
/
controllers
/
diary_entry_controller.rb
diff --git
a/app/controllers/diary_entry_controller.rb
b/app/controllers/diary_entry_controller.rb
index 52ce742bfddf08870ae441e653e7855adb2e9458..320f3d029de3e7416de519f99150dc2a97e95445 100644
(file)
--- a/
app/controllers/diary_entry_controller.rb
+++ b/
app/controllers/diary_entry_controller.rb
@@
-10,7
+10,7
@@
class DiaryEntryController < ApplicationController
caches_action :list, :view, :layout => false
caches_action :rss, :layout => true
caches_action :list, :view, :layout => false
caches_action :rss, :layout => true
- cache_sweeper :diary_sweeper, :only => [:new, :edit, :comment, :hide, :hidecomment]
+ cache_sweeper :diary_sweeper, :only => [:new, :edit, :comment, :hide, :hidecomment]
, :unless => OSM_STATUS == :database_offline
def new
@title = t 'diary_entry.new.title'
def new
@title = t 'diary_entry.new.title'