mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
aeac106de5
`context` and `options` were performing essentially the same function. We can just use `decorate(source, role: :admin)` instead of `decorate(source, context: {role: :admin})`. |
||
---|---|---|
.. | ||
draper | ||
dummy | ||
generators/decorator | ||
minitest-rails | ||
support/samples | ||
spec_helper.rb |