Skip to content

Instantly share code, notes, and snippets.

@yagudaev
Created January 31, 2019 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yagudaev/e8a6dc617d2fc19d70dfa9776393757d to your computer and use it in GitHub Desktop.
Save yagudaev/e8a6dc617d2fc19d70dfa9776393757d to your computer and use it in GitHub Desktop.
For presentation
class Api::V1::FilesController < ActiveStorage::DirectUploadsController
skip_forgery_protection
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment