Check if site is up-to-date

This commit is contained in:
chris2tof committed 2011-08-23 19:40:49 +08:00
1 parent 090b1fdd7f
commit 118455aa81
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<% if @site.up_to_date %>
<% if @site.up_to_date? %>
<%= t('admin.up_to_date') %>
<% else %>
<%= link_to t(:update), site_update_path %>