Last active
March 4, 2020 02:18
-
-
Save donrestarone/c51538cc82f1d09935baa766ce7aa8e3 to your computer and use it in GitHub Desktop.
add cookies to Rails API controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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