質問編集履歴
1
い
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -51,7 +51,10 @@
|
|
|
51
51
|
【コントローラ】
|
|
52
52
|
```ruby
|
|
53
53
|
class ApplicationController < ActionController::Base
|
|
54
|
+
|
|
55
|
+
before_action :authenticate_employee!
|
|
54
56
|
before_action :configure_permitted_parameters, if: :devise_controller?
|
|
57
|
+
|
|
55
58
|
|
|
56
59
|
protect_from_forgery with: :exception
|
|
57
60
|
|