rostra 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@
39
39
  <%= strip_tags(question.details) %>
40
40
  <% end %>
41
41
  </div>
42
- <div class="timestamp"><%= time_ago_in_words(question.updated_at) %> ago</div>
42
+ <div class="timestamp"><%= time_ago_in_words(question.created_at) %> ago</div>
43
43
  <%= tag_list(question) %>
44
44
  </div>
45
45
  <div class="clear"></div>
@@ -11,7 +11,7 @@
11
11
  </cite>
12
12
  <div class="text"><%= @question.details.html_safe %></div>
13
13
  <div class="details">
14
- <div class="timestamp"><%= time_ago_in_words(@question.updated_at) %> ago</div>
14
+ <div class="timestamp"><%= time_ago_in_words(@question.created_at) %> ago</div>
15
15
  <%= tag_list(@question) %>
16
16
  </div>
17
17
  </div>
@@ -28,7 +28,7 @@
28
28
  <%= link_to('edit', edit_question_answer_path(@question, answer)) if can? :manage, answer %>
29
29
  </cite>
30
30
  <div class="text"><%= answer.text.html_safe %></div>
31
- <div class="timestamp"><%= time_ago_in_words(answer.updated_at) %> ago</div>
31
+ <div class="timestamp"><%= time_ago_in_words(answer.created_at) %> ago</div>
32
32
 
33
33
  <% if answer.comments.any? %>
34
34
  <div class="comments">
@@ -36,7 +36,7 @@
36
36
  <div class="comment text">
37
37
  <div class="editable" data-ajax_url="<%= question_comment_path(@question, comment) %>"><%= comment.comment %></div>
38
38
  <div class="timestamp">
39
- <%= link_to_profile(comment.user) %> – <%= time_ago_in_words(comment.updated_at) %> ago
39
+ <%= link_to_profile(comment.user) %> – <%= time_ago_in_words(comment.created_at) %> ago
40
40
  <% if can? :manage, comment %>
41
41
  <%= link_to('edit', question_comment_path(@question, comment), class: 'edit_comment') %>
42
42
  <%= link_to('delete', question_comment_path(@question, comment), method: :delete, confirm: 'Are you sure?') %>
@@ -1,3 +1,3 @@
1
1
  module Rostra
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rostra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.16
5
+ version: 0.1.17
6
6
  platform: ruby
7
7
  authors:
8
8
  - Cory Schires