scan should require admin priveliges
This commit is contained in:
parent
054761b426
commit
af3f3bada1
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
class PhotosController < ApplicationController
|
||||
before_filter :check_public_access
|
||||
before_filter :require_role_admin, :only => [:untouched, :upload, :new, :create, :edit, :update, :destroy]
|
||||
before_filter :require_role_admin, :only => [:untouched, :upload, :new, :create, :edit, :update, :destroy, :scan]
|
||||
|
||||
def index
|
||||
if params[:tag_id] && params[:album_id]
|
||||
|
|
Loading…
Reference in a new issue