mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
parent
bb108efedd
commit
fa52001be6
141 changed files with 1388 additions and 1664 deletions
|
@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
# Prevent CSRF attacks by raising an exception.
|
||||
# For APIs, you may want to use :null_session instead.
|
||||
protect_from_forgery with: :exception
|
||||
protect_from_forgery with: :exception, prepend: true
|
||||
|
||||
before_action do
|
||||
resource = controller_name.singularize.to_sym
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue