Changeset [9c538bed2911645d74905ea7aad833d0dfae2435] by Brian Michalski
Revision 9c538bed2911645d74905ea7aad833d0dfae2435,
committed by Brian Michalski
· March 8th, 2012 @ 03:12 AM
Render a template background.
- Add the /templates/1/display route to render the template image at an optional width and height for the frontend.
- Add frontend code to render an automatically resizing background-image at the initialized width and height of the current screen dom element. https://github.com/concerto/concerto/commit/9c538bed2911645d74905ea...
3 changed files
-
M
app/controllers/templates_controller.rb -
M
config/routes.rb -
M
public/frontend_js/template.js