mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-20 20:34:23 +01:00
read -> show
This commit is contained in:
parent
627dfbefdb
commit
42e1d29cd4
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ div
|
|||
i.fa.fa-flag>
|
||||
' Report
|
||||
|
||||
= if not is_nil(@comment.edited_at) and can?(@conn, :read, @comment) do
|
||||
= if not is_nil(@comment.edited_at) and can?(@conn, :show, @comment) do
|
||||
br
|
||||
a href=Routes.image_comment_history_path(@conn, :index, @comment.image, @comment)
|
||||
' Edited
|
||||
|
|
|
@ -6,7 +6,7 @@ div
|
|||
i.fa.fa-flag>
|
||||
' Report
|
||||
|
||||
= if not is_nil(@post.edited_at) and can?(@conn, :read, @post) do
|
||||
= if not is_nil(@post.edited_at) and can?(@conn, :show, @post) do
|
||||
br
|
||||
a href=Routes.forum_topic_post_history_path(@conn, :index, @post.topic.forum, @post.topic, @post)
|
||||
' Edited
|
||||
|
|
Loading…
Reference in a new issue