Changeset [f0f9790ae76095a49226083b211bd7c140989184] by Brian Michalski
Revision f0f9790ae76095a49226083b211bd7c140989184,
committed by Brian Michalski
· December 8th, 2011 @ 02:18 AM
Refactoring the conditional partial rendering.
Moved the repeated code out of the content form to
render_partial_if in the application controller. Looks pretty DRY
now.
https://github.com/concerto/concerto/commit/f0f9790ae76095a49226083...
2 changed files
-
M
app/helpers/application_helper.rb -
M
app/views/contents/_form.html.erb