Removed files that are not being used

This commit is contained in:
María Checa
2017-10-03 10:50:18 +02:00
parent bf61dffd4b
commit e6b5de77fe
2 changed files with 1 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ module Abilities
can [:index, :create, :edit, :update, :destroy], Geozone can [:index, :create, :edit, :update, :destroy], Geozone
can [:read, :create, :update, :destroy, :add_question, :search_booths, :search_questions, :search_officers], Poll can [:read, :create, :update, :destroy, :add_question, :search_booths, :search_officers], Poll
can [:read, :create, :update, :destroy, :available], Poll::Booth can [:read, :create, :update, :destroy, :available], Poll::Booth
can [:search, :create, :index, :destroy], ::Poll::Officer can [:search, :create, :index, :destroy], ::Poll::Officer
can [:create, :destroy], ::Poll::BoothAssignment can [:create, :destroy], ::Poll::BoothAssignment

View File

@@ -273,7 +273,6 @@ Rails.application.routes.draw do
scope module: :poll do scope module: :poll do
resources :polls do resources :polls do
get :search_questions, on: :member
patch :add_question, on: :member patch :add_question, on: :member
resources :booth_assignments, only: [:index, :show, :create, :destroy] do resources :booth_assignments, only: [:index, :show, :create, :destroy] do