Changeset [acfff4439dc25d1a6da8701e85fb605818e07407] by Brian Michalski
Revision acfff4439dc25d1a6da8701e85fb605818e07407,
committed by Brian Michalski
· March 18th, 2012 @ 02:08 AM
Wiring up a backend that exposes actual content in the frontend.
Content can be fetched for a field and a completely random piece
will be returned. The render_details method on the
Content model can pass additional information to the frontend
rendering code specific to the content type being rendered.
https://github.com/concerto/concerto/commit/acfff4439dc25d1a6da8701...
12 changed files
-
A
app/controllers/frontend/contents_controller.rb -
A
app/helpers/frontend/contents_helper.rb -
A
test/functional/frontend/contents_controller_test.rb -
A
test/unit/helpers/frontend/contents_helper_test.rb -
M
app/controllers/frontend/fields_controller.rb -
M
app/controllers/frontend/screens_controller.rb -
M
app/models/content.rb -
M
app/models/graphic.rb -
M
app/models/position.rb -
M
config/routes.rb -
M
test/functional/frontend/fields_controller_test.rb -
M
test/functional/frontend/screens_controller_test.rb