diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index 8305fe6..e0bba54 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -4,7 +4,7 @@ <%= text_field_tag :search, params[:search], placeholder: "Search Customers" %> <%= submit_tag "Search" %> <% end %> -<%= button_to("New Customer", new_customer_path, method: :get) if User.current.allowed_to?(:add_customers)%> +<%= button_to "New Customer", new_customer_path, method: :get%>
<% if @customers.present? %>