a5bc81b304
Suppress the unnecessary CSRF warning
5 lines
249 B
Ruby
5 lines
249 B
Ruby
# TODO: we should switch to ActionController::API for the base classes
|
|
# One of the specs is failing when I tried doing that, lets revisit in future
|
|
class PublicController < ActionController::Base
|
|
skip_before_action :verify_authenticity_token
|
|
end
|