diff options
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 7b41dcc..149b814 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -39,8 +39,13 @@ module ApplicationHelper link_to(body, :controller => "users", :action => "best", :screen_name => screen_name) end + # _tweet + def show_count(c) + params[:action] == "show" ? (@full ? c : 100) : 20 + end + # utf8 def utf8_enforcer_tag - "" + raw "" end end |