fixed gallery theater for frontend without login

This commit is contained in:
Harry Bomrah 2014-07-16 15:02:32 +08:00
parent f24079b90d
commit 6f2ca20be3
1 changed files with 3 additions and 1 deletions

View File

@ -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