質問するログイン新規登録

質問編集履歴

1

2017/06/23 01:12

投稿

pecchan
pecchan

スコア592

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