Skip to content

Commit

Permalink
Remove unused/unnecessary /admin/forms page
Browse files Browse the repository at this point in the history
This page links to Forms, FormQuestions and CustomFormQuestions, all of
which are accessible from the admin dashboard. It also doesn't seem to
be linked from anywhere.
  • Loading branch information
solebared committed Jan 21, 2021
1 parent 2cbc8f0 commit 1fb7777
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions app/controllers/admin_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ class AdminController < ApplicationController

def dispatch_steps; end

def form_admin; end

# FIXME: extract glossary related code into their own controller
def glossary_edit
@system_settings = SystemSetting.current_settings
Expand Down
11 changes: 0 additions & 11 deletions app/views/admin/form_admin.html.erb

This file was deleted.

1 change: 0 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
root to: 'admin_dashboard#show', as: 'admin_dashboard'
end

get '/admin/forms', to: 'admin#form_admin', as: 'form_admin'
get '/admin/volunteers', to: 'admin#volunteer_admin', as: 'volunteer_admin'
get '/admin/dispatch', to: 'admin#dispatch_steps', as: 'dispatch_steps_admin'
get '/admin/glossary', to: 'admin#glossary_index', as: 'glossary_admin'
Expand Down

0 comments on commit 1fb7777

Please sign in to comment.