Removed settings/import route

• Removed:
- settings/import route
This commit is contained in:
mgabdev 2020-05-29 12:29:30 -04:00
parent 150b1ba8a2
commit 1f9e33a80b
2 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,6 @@ SimpleNavigation::Configuration.run do |navigation|
end end
n.item :data, safe_join([fa_icon('cloud-download fw'), t('settings.import_and_export')]), settings_export_url do |s| n.item :data, safe_join([fa_icon('cloud-download fw'), t('settings.import_and_export')]), settings_export_url do |s|
s.item :import, safe_join([fa_icon('cloud-upload fw'), t('settings.import')]), settings_import_url
s.item :export, safe_join([fa_icon('cloud-download fw'), t('settings.export')]), settings_export_url s.item :export, safe_join([fa_icon('cloud-download fw'), t('settings.export')]), settings_export_url
end end

View File

@ -87,7 +87,7 @@ Rails.application.routes.draw do
resource :profile, only: [:show, :update] resource :profile, only: [:show, :update]
resource :preferences, only: [:show, :update] resource :preferences, only: [:show, :update]
resource :notifications, only: [:show, :update] resource :notifications, only: [:show, :update]
resource :import, only: [:show, :create] # resource :import, only: [:show, :create]
namespace :billing do namespace :billing do
get :upgrade, to: 'upgrade#index', as: :upgrade get :upgrade, to: 'upgrade#index', as: :upgrade