Merge branch 'master' into legislation-module-stable
This commit is contained in:
@@ -42,4 +42,11 @@ module ApplicationHelper
|
||||
return false if authorable.blank? || user.blank?
|
||||
authorable.author_id == user.id
|
||||
end
|
||||
|
||||
def back_link_to(destination_path)
|
||||
destination = destination_path || :back
|
||||
link_to destination, class: "back" do
|
||||
"<span class='icon-angle-left'></span>".html_safe + t("shared.back")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user