Skip to content

Commit df1e57d

Browse files
committed
Fix Ruby warning about method redefinition
> lib/kracken/controllers/json_api_compatible.rb:136: warning: method redefined; discarding old included > lib/kracken/controllers/json_api_compatible.rb:77: warning: previous definition of included was here
1 parent 36b6342 commit df1e57d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/kracken/controllers/json_api_compatible.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ def verify_required_params(options = {})
7474
end
7575
end
7676

77-
def self.included(base)
78-
base.instance_exec do
79-
extend Macros
80-
81-
before_action :munge_chained_param_ids!
82-
end
83-
end
84-
8577
module DataIntegrity
8678
# Scan each item in the data root and enforce it has an id set.
8779
def enforce_resource_ids!

0 commit comments

Comments
 (0)