Created
April 23, 2013 20:33
-
-
Save TXDynamics/5447128 to your computer and use it in GitHub Desktop.
Add debugging to our Ruby Application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/html"> | |
| <head> | |
| <title><%= full_title(yield(:title)) %></title> | |
| <%= stylesheet_link_tag "application", :media => "all" %> | |
| <%= javascript_include_tag "application" %> | |
| <%= csrf_meta_tags %> | |
| <%= render 'layouts/shim' %> | |
| </head> | |
| <body> | |
| <%= render 'layouts/header' %> | |
| <div class="container"> | |
| <%= yield %> | |
| <%= render 'layouts/footer' %> | |
| <!--Enable Debugging within our application --> | |
| <%= debug(params) if Rails.env.development? %> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment