Skip to content

Commit

Permalink
fixed the display of text
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonrails authored and Eric Berry committed Nov 16, 2009
1 parent a75fd50 commit ebc8238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/helpers/home_helper.rb
Expand Up @@ -11,6 +11,6 @@ def last_flit_message
# last flit creation time or placeholder
#
def last_flit_created
@last_flit.blank? ? 'Awaiting first flit.' : (distance_of_time_in_words_to_now(@last_flit.created_at) + 'ago')
@last_flit.blank? ? 'Awaiting first flit.' : (distance_of_time_in_words_to_now(@last_flit.created_at) + ' ago')
end
end
3 changes: 1 addition & 2 deletions app/views/home/index.html.erb
Expand Up @@ -24,8 +24,7 @@ $(function() {
<div class="clear"></div>
<%= f.text_area :message %>
<div id="latest_message">
<strong>Latest: </strong><%= h last_flit_message %>
<%= last_flit_created %>
<strong>Latest: </strong><%= h( "#{last_flit_message} #{last_flit_created}") %>
</div>
<div id="submit_button_container">
<%= f.submit "update", :class => "button" %>
Expand Down

0 comments on commit ebc8238

Please sign in to comment.