Removed files that are not being used
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user