mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04: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) %>
|
||||
<% end %>
|
||||
<%= 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