Skip to content

Instantly share code, notes, and snippets.

@nickaknudson
Created June 20, 2012 18:03
Show Gist options
  • Save nickaknudson/2961269 to your computer and use it in GitHub Desktop.
Save nickaknudson/2961269 to your computer and use it in GitHub Desktop.
Default Rails views/layouts/application.html.erb to haml
!!!
%html
%head
%title ElectionsoftServer
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
%body
%p.notice
= notice
%p.alert
= alert
= yield
@nickaknudson
Copy link
Author

I added the notice and alert flash messages which are commonly required by things such as devise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment