mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-18 10:30:36 -05:00
Only show sync button if User is an admin
This commit is contained in:
1 parent
8b4a46f7eb
commit
fe06fccacd
1 file changed
+1
-1
@@ -3,4 +3,4 @@
|
|||||||
<%= submit_tag t(:label_search) %>
|
<%= submit_tag t(:label_search) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= button_to t(:label_new_customer), new_customer_path, method: :get%>
|
<%= button_to t(:label_new_customer), new_customer_path, method: :get%>
|
||||||
<%= button_to t(:label_sync), qbo_sync_path, method: :get%>
|
<%= button_to(t(:label_sync), qbo_sync_path, method: :get) if User.current.admin?%>
|
||||||
Reference in new issue
Block a user