before_filter :authenticate_author, :only => [:new, :create, :edit, :update, :destroy]
else
before_filter :authenticate_reader, :only => [
- :index, :show, :play, :by_comic, :by_sheet, :by_author, :count, :count_by_comic, :count_by_sheet, :count_by_author
+ :index, :show, :play, :by_comic, :by_sheet, :by_author
]
before_filter :authenticate_user, :only => [:new, :create, :edit, :update, :destroy]
before_filter :authenticate_author, :only => [:new, :create, :edit, :update, :destroy]
end
end
- def count
- list_count
- end
-
- def count_by_comic
- list_count
- end
-
- def count_by_sheet
- list_count
- end
-
- def count_by_author
- list_count
- end
-
def new
form_new
end