adds consistency to syntax

This commit is contained in:
rgarcia
2016-09-28 11:55:11 +02:00
parent f3ad806c8b
commit 7db3683c27
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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