instedd-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,17 @@
2
2
  <html>
3
3
  <head>
4
4
  <title><%= application_name.titleize %></title>
5
+ <% if Rails::version < '3.1' %>
6
+ <%= stylesheet_link_tag "/stylesheets/#{application_name.underscore}.css" %>
7
+ <%= javascript_include_tag :defaults, "rails.validations" %>
8
+ <%= csrf_meta_tag %>
9
+ <% else %>
10
+ <%= stylesheet_link_tag "application" %>
11
+ <%= javascript_include_tag "application" %>
12
+ <%= csrf_meta_tags %>
13
+ <% end %>
5
14
  <%= stylesheet_link_tag 'http://theme.instedd.org/theme/stylesheets/theme.css' %>
6
- <%= stylesheet_link_tag "/stylesheets/#{application_name.underscore}.css" %>
7
-
8
- <%= javascript_include_tag :defaults, "rails.validations" %>
9
15
  <%= javascript_include_tag 'http://theme.instedd.org/theme/javascripts/theme.js' %>
10
- <%= csrf_meta_tag %>
11
16
  <%= yield(:head) %>
12
17
  <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
13
18
  <%= render :partial =>"shared/analytics" %>
@@ -1,3 +1,3 @@
1
1
  module InsteddRails
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: instedd-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Instedd