Commit 1be453d6 authored by Marin Jankovski's avatar Marin Jankovski

User correct name for reject_blocked

parent 650a7c73
class UploadsController < ApplicationController
skip_before_filter :authenticate_user!, :reject_blocked
skip_before_filter :authenticate_user!, :reject_blocked!
before_filter :authorize_access
def show
......@@ -20,7 +20,7 @@ class UploadsController < ApplicationController
def authorize_access
unless params[:mounted_as] == 'avatar'
authenticate_user! && reject_blocked
authenticate_user! && reject_blocked!
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment