fixes reference to model id in deploy action

@bbauer this fixes the deploy action on the website index page
Can you do the same thing here? https://github.com/G5/g5-content-management-system/blob/master/app/assets/javascripts/controllers/web_page_template_controller.js.coffee