Skip to content

Commit a920675

Browse files
author
Chris Talib
committed
[mod] allowing to show the button only for curators
1 parent 30cbef8 commit a920675

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/points/show.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
</div>
55
<div class="col-sm-6">
66
<% if current_user %>
7+
<% if current_user.curator %>
78
<div class="dropdown btn-group fr">
89
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#">
910
Update Point
@@ -27,6 +28,7 @@
2728
</ul>
2829
</div>
2930
<% end %>
31+
<% end %>
3032
</div>
3133
</div>
3234

0 commit comments

Comments
 (0)