Changeset [38e990226f445b1143eab85f86633db48ce6050f] by Brian Michalski
Revision 38e990226f445b1143eab85f86633db48ce6050f,
committed by Brian Michalski
· March 8th, 2012 @ 02:50 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/38e990226f445b1143eab85...
3 changed files
-
M
app/controllers/templates_controller.rb -
M
config/routes.rb -
M
public/frontend_js/template.js