Method: Consent::DSL#eval_view
- Defined in:
- lib/consent/dsl.rb
#eval_view(key, label, collection_conditions) ⇒ Object
rubocop:disable Lint/UnusedBlockArgument, Security/Eval
17 18 19 20 21 |
# File 'lib/consent/dsl.rb', line 17 def eval_view(key, label, collection_conditions) view key, label do |user| eval(collection_conditions) end end |