diff --git a/app/controllers/admin/galleries_controller.rb b/app/controllers/admin/galleries_controller.rb index 18741eb..15548e4 100644 --- a/app/controllers/admin/galleries_controller.rb +++ b/app/controllers/admin/galleries_controller.rb @@ -1,4 +1,4 @@ -class Admin::GalleriesController < ApplicationController +class Admin::GalleriesController < OrbitAdminController before_filter :setup_vars before_action :authenticate_user, :log_user_action, :except => "imgs" layout "back_end" diff --git a/app/controllers/admin/images_controller.rb b/app/controllers/admin/images_controller.rb index 761704b..8b0936d 100644 --- a/app/controllers/admin/images_controller.rb +++ b/app/controllers/admin/images_controller.rb @@ -1,4 +1,4 @@ -class Admin::ImagesController < ApplicationController +class Admin::ImagesController < OrbitAdminController before_filter :setup_vars def show @image = AlbumImage.find(params[:id]) diff --git a/app/views/admin/galleries/_album.html.erb b/app/views/admin/galleries/_album.html.erb index 9ae2301..bbce8f8 100644 --- a/app/views/admin/galleries/_album.html.erb +++ b/app/views/admin/galleries/_album.html.erb @@ -10,7 +10,9 @@