Commit 08e24d82f63bcc7869cff1f379ab3dbc47e2d327

Authored by Dan Croak
1 parent 1fb5bbf6

added main div in application layout. added yfactorial utility scopes.

.gems
... ... @@ -3,4 +3,5 @@ tobi-delayed_job --version '1.7.0' --source gems.github.com
3 3 thoughtbot-paperclip --version '2.2.9.2' --source gems.github.com
4 4 right_aws --version '1.10.0'
5 5 rubaidh-google_analytics --version '1.1.4' --source gems.github.com
  6 +yfactorial-utility_scopes --version '0.2.2' --source gems.github.com
6 7  
... ...
app/views/layouts/application.html.erb
... ... @@ -7,8 +7,10 @@
7 7 <%= stylesheet_link_tag 'screen', :media => 'all', :cache => true %>
8 8 </head>
9 9 <body class="<%= body_class %>">
10   - <%= render :partial => 'shared/flashes' -%>
11   - <%= yield %>
12   - <%= render :partial => 'shared/javascript' %>
  10 + <div class="main">
  11 + <%= render :partial => 'shared/flashes' -%>
  12 + <%= yield %>
  13 + <%= render :partial => 'shared/javascript' %>
  14 + </div>
13 15 </body>
14 16 </html>
... ...
config/initializers/requires.rb
  1 +require 'utility_scopes'
  2 +
1 3 Dir[File.join(RAILS_ROOT, 'lib', 'extensions', '*.rb')].each do |f|
2 4 require f
3 5 end
... ...