app/views/layouts/instedd_application.html.erb in instedd-rails-0.0.15 vs app/views/layouts/instedd_application.html.erb in instedd-rails-0.0.16
- old
+ new
@@ -7,11 +7,11 @@
<%= csrf_meta_tag %>
<% else %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<% end %>
- <%= stylesheet_link_tag 'http://theme.instedd.org/theme/stylesheets/theme.css' %>
- <%= javascript_include_tag 'http://theme.instedd.org/theme/javascripts/theme.js' %>
+ <%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %>
+ <%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %>
<% if Rails::version < '3.1' %>
<%= stylesheet_link_tag "/stylesheets/#{application_name.underscore}.css" %>
<% else %>
<%= stylesheet_link_tag "application" %>
<% end %>