Skip to content

Instantly share code, notes, and snippets.

@mAlishera
Last active February 20, 2017 15:18
Show Gist options
  • Save mAlishera/32f0e92d18d16b8bf191981416fdec4d to your computer and use it in GitHub Desktop.
Save mAlishera/32f0e92d18d16b8bf191981416fdec4d to your computer and use it in GitHub Desktop.
Skip token verification
class ConfigsController < ApplicationController
skip_before_filter :verify_authenticity_token, only: [:create, :new]
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment