adds consistency to syntax
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
new_admin_poll_path,
|
||||
class: "button success float-right" %>
|
||||
|
||||
<% if Poll.any? %>
|
||||
<% if @polls.any? %>
|
||||
<table>
|
||||
<thead>
|
||||
<th><%= t("admin.polls.index.name") %></th>
|
||||
|
||||
@@ -177,7 +177,7 @@ Rails.application.routes.draw do
|
||||
get :search, on: :collection
|
||||
end
|
||||
|
||||
scope module: 'poll' do
|
||||
scope module: :poll do
|
||||
resources :officers do
|
||||
get :search, on: :collection
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user