From ee41947e9defce24ecd9f46329bb953d46b335bd Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sat, 7 Jul 2018 20:13:18 +0200 Subject: [PATCH] Set appropriate assets pack for the keyword filter page --- app/controllers/filters_controller.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb index 03403a1ba1..8f7f1bced4 100644 --- a/app/controllers/filters_controller.rb +++ b/app/controllers/filters_controller.rb @@ -7,6 +7,7 @@ class FiltersController < ApplicationController before_action :set_filters, only: :index before_action :set_filter, only: [:edit, :update, :destroy] + before_action :set_pack def index @filters = current_account.custom_filters @@ -43,6 +44,10 @@ class FiltersController < ApplicationController private + def set_pack + use_pack 'settings' + end + def set_filters @filters = current_account.custom_filters end