質問編集履歴
1
エラーメッセージを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,6 +7,21 @@
|
|
7
7
|
devise_token_auth 1.1.3
|
8
8
|
|
9
9
|
```Ruby
|
10
|
+
エラーメッセージ
|
11
|
+
NoMethodError in SubController#index
|
12
|
+
undefined method `methodA' for #<SubController:0x0000559c2a82e8c8>
|
13
|
+
|
14
|
+
Extracted source (around line #428):
|
15
|
+
|
16
|
+
lambda do |target, value, &block|
|
17
|
+
target, block, method, *arguments = expand(target, value, block)
|
18
|
+
target.send(method, *arguments, &block)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
```
|
23
|
+
|
24
|
+
```Ruby
|
10
25
|
class ApplicationController < ActionController::API
|
11
26
|
include DeviseTokenAuth::Concerns::SetUserByToken
|
12
27
|
skip_before_action :verify_authenticity_token #コメントアウトすると、リソースにアクセスできるが、ログインできない
|