diff --git a/app/controllers/admin/banners_controller.rb b/app/controllers/admin/banners_controller.rb index c795b4b33..72b085a5d 100644 --- a/app/controllers/admin/banners_controller.rb +++ b/app/controllers/admin/banners_controller.rb @@ -47,18 +47,6 @@ class Admin::BannersController < Admin::BaseController web_section_ids: []] end - def banner_styles - @banner_styles = Setting.all.banner_style.map do |banner_style| - [banner_style.value, banner_style.key.split(".")[1]] - end - end - - def banner_imgs - @banner_imgs = Setting.all.banner_img.map do |banner_img| - [banner_img.value, banner_img.key.split(".")[1]] - end - end - def banner_sections @banner_sections = WebSection.all end