Skip to content

Commit

Permalink
Implement auhtorization rule for portfolio controller and view for dr…
Browse files Browse the repository at this point in the history
…ag and drog feature
  • Loading branch information
vothaianh1997 committed Oct 24, 2018
1 parent 5eec847 commit ceb7216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/portfolios/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="album text-muted">
<div class="container">
<div class="row sortable">
<div class="row <%= "sortable" if logged_in?(:site_admin)%>">
<%= render partial: 'portfolio_item', collection: @portfolio_item %>
</div>
</div>
Expand Down

0 comments on commit ceb7216

Please sign in to comment.