Override presenters #1790

Closed
wants to merge 3 commits into
from

Projects

None yet

3 participants

This lets you do e.g.:

$ bundle exec rake refinery:override presenter=refinery/page_presenter

but even if that feature isn't wanted, the refactoring in Refinery::CLI leading up to it might still be useful.

Kevin Bullock added some commits Jul 2, 2012
Kevin Bullock factor copypasta out of Refinery::CLI#override
--HG--
extra : rebase_source : b2e4202626c7dc7dd9f5f00e7ca5ba404b6cd495
5a4f9b1
Kevin Bullock Refinery::CLI: refactor file type lookups into single hash
--HG--
extra : rebase_source : aaf2b787d31391d0e811ab89eb19979471af5f1f
1998794
Kevin Bullock allow overriding presenters
--HG--
extra : rebase_source : 77739f1f26f9bf0ac96ae58294243a04dd2ee448
a415c37

This pull request fails (merged a415c37 into 1ed59ca).

Owner
parndt commented Jul 2, 2012

Finally, some DRY code in the CLI!

Owner
parndt commented Jul 3, 2012

Merged into ecb63ce and 9b96ee6 and e59938f see compare thanks!

@parndt parndt closed this Jul 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment