Skip to content

Commit

Permalink
Trigger a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
that-jill committed Nov 7, 2024
1 parent 36a72f7 commit a9860ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/consent/lib/consent/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def eval_view(key, label, collection_conditions)

def view(key, label, instance = nil, collection = nil, &block)
collection ||= block
eval(collection)
@subject.views[key] = View.new(key, label, instance, collection)
end

Expand Down

0 comments on commit a9860ee

Please sign in to comment.