Skip to content

Instantly share code, notes, and snippets.

@donrestarone
Last active March 4, 2020 02:18
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 donrestarone/c51538cc82f1d09935baa766ce7aa8e3 to your computer and use it in GitHub Desktop.
Save donrestarone/c51538cc82f1d09935baa766ce7aa8e3 to your computer and use it in GitHub Desktop.
add cookies to Rails API controller
class ApplicationController < ActionController::API
include ActionController::Cookies
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment