application_controller.rb
237 Bytes
-
In before filter you can simply redirect to halt execution (simplified require_admin!). Extracted creating deploy logic to separate methods for defaut deploy and heroku deploy. Haml views should use haml-style tag declarations: %h3#watchers_toggle not %h3{:id => 'watchers_toggle'}