home page is restored, so is context view

This commit is contained in:
Reinier Balt 2012-04-12 17:30:05 +02:00
parent 4605b17d3c
commit e964769553
130 changed files with 89 additions and 152 deletions

View file

@ -95,10 +95,10 @@ class ApplicationController < ActionController::Base
if count == 0 && deferred_count > 0
word = deferred_count == 1 ? string.singularize : string.pluralize
word = "deferred&nbsp;" + word
deferred_count.to_s + "&nbsp;" + word
return (deferred_count.to_s + "&nbsp;" + word).html_safe
else
word = count == 1 ? string.singularize : string.pluralize
count.to_s + "&nbsp;" + word
return (count.to_s + "&nbsp;" + word).html_safe
end
end