app/controllers/cas/file_uploads_controller.rb in cas-cms-0.1.3 vs app/controllers/cas/file_uploads_controller.rb in cas-cms-1.0.0.alpha1
- old
+ new
@@ -1,7 +1,7 @@
class Cas::FileUploadsController < Cas::ApplicationController
skip_before_action :authenticate_user!
- skip_before_filter :verify_authenticity_token
+ skip_before_action :verify_authenticity_token
def create
file = params.fetch(:file)
uploader = ::FileUploader.new(:store)
uploaded_file = uploader.upload(file)