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