From 6f2ca20be3cb5d3b883723281e8b085d109620f6 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 16 Jul 2014 15:02:32 +0800 Subject: [PATCH] fixed gallery theater for frontend without login --- app/controllers/admin/galleries_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/galleries_controller.rb b/app/controllers/admin/galleries_controller.rb index 002597a..7e9dfae 100644 --- a/app/controllers/admin/galleries_controller.rb +++ b/app/controllers/admin/galleries_controller.rb @@ -1,5 +1,7 @@ -class Admin::GalleriesController < OrbitAdminController +class Admin::GalleriesController < ApplicationController before_filter :setup_vars + before_action :authenticate_user, :log_user_action, :except => "imgs" + layout "back_end" def index @albums = Album.all @tags = @module_app.tags