about summary refs log tree commit diff
path: root/app/controllers/filters_controller.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-07 20:13:18 +0200
committerThibaut Girka <thib@sitedethib.com>2018-07-09 19:19:23 +0200
commitee41947e9defce24ecd9f46329bb953d46b335bd (patch)
tree7519709d6dae565be676771b1d5d12c6a7c830e5 /app/controllers/filters_controller.rb
parent7a7d8c335e086b96b4bdc58bd4cac0a260f2ea9f (diff)
Set appropriate assets pack for the keyword filter page
Diffstat (limited to 'app/controllers/filters_controller.rb')
-rw-r--r--app/controllers/filters_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb
index 03403a1ba..8f7f1bced 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