Created
April 5, 2017 04:45
-
-
Save itolosa/a5cc5e16117d903ee5532df488d338e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if policy(@post).update? %> | |
<%= link_to "Edit post", edit_post_path(@post) %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment