diff --git a/app/controllers/doors_controller.rb b/app/controllers/doors_controller.rb deleted file mode 100644 index 5d902b3..0000000 --- a/app/controllers/doors_controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -class DoorsController < ApplicationController - def index - end -end diff --git a/app/views/doors/index.html.slim b/app/views/doors/index.html.slim deleted file mode 100644 index 73344b9..0000000 --- a/app/views/doors/index.html.slim +++ /dev/null @@ -1,5 +0,0 @@ -- content_for(:title) { t 'views.doors.management' } -section.container - .row - .col-xs-12 - = render partial: 'layouts/deprecated' diff --git a/app/views/layouts/_navigation.html.slim b/app/views/layouts/_navigation.html.slim index 3ab3115..0af4ceb 100644 --- a/app/views/layouts/_navigation.html.slim +++ b/app/views/layouts/_navigation.html.slim @@ -9,9 +9,6 @@ nav class="navbar navbar-static-top #{content_for?(:nav_color) ? yield(:nav_colo = image_tag 'logo.svg', class: 'navbar-brand', alt: 'Fauna' .navbar-collapse.collapse.navbar-inverse-collapse ul.nav.navbar-nav - li class="#{'active' if current_page?(doors_path)}" - = link_to doors_path do - = icon 'lock', t('views.navigation.door_access') - if user_signed_in? and UserPolicy.new(current_user, nil).index? li class="#{'active' if current_page?(fauna_users_path)}" = link_to fauna_users_path do diff --git a/config/routes.rb b/config/routes.rb index f633af7..f43bed4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -23,8 +23,6 @@ end end - resources :doors, only: :index - namespace :api, defaults: {format: "json"} do resources :users, only: [] do collection do