From 1f9e33a80b726988dc28a49f8f1bcd2cd644452e Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 29 May 2020 12:29:30 -0400 Subject: [PATCH] Removed settings/import route MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - settings/import route --- config/navigation.rb | 1 - config/routes.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/navigation.rb b/config/navigation.rb index 24a14ead..55fb5ac4 100644 --- a/config/navigation.rb +++ b/config/navigation.rb @@ -30,7 +30,6 @@ SimpleNavigation::Configuration.run do |navigation| end 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 end diff --git a/config/routes.rb b/config/routes.rb index f07027da..24c4d2bb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -87,7 +87,7 @@ Rails.application.routes.draw do resource :profile, only: [:show, :update] resource :preferences, only: [:show, :update] resource :notifications, only: [:show, :update] - resource :import, only: [:show, :create] + # resource :import, only: [:show, :create] namespace :billing do get :upgrade, to: 'upgrade#index', as: :upgrade