Browse Source

Broke it

development
Godwin 11 years ago
parent
commit
d1af3d46c4
  1. 2
      app/views/layouts/application.html.haml
  2. 2
      config/application.rb

2
app/views/layouts/application.html.haml

@ -11,7 +11,7 @@
/[if lt IE 9] /[if lt IE 9]
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
= stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic', 'application', media: 'all' = stylesheet_link_tag '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic', 'application', media: 'all'
/ Touch icons / Touch icons
%link{ href: asset_path('favicon.ico'), rel: 'shortcut icon', type: 'image/x-icon' } %link{ href: asset_path('favicon.ico'), rel: 'shortcut icon', type: 'image/x-icon' }

2
config/application.rb

@ -26,7 +26,7 @@ module BikeBike
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
config.i18n.default_locale = :en #:de config.i18n.default_locale = :en #:de
config.i18n.enforce_available_locales = false config.i18n.enforce_available_locales = false
config.action_controller.default_url_options = { :trailing_slash => true } # config.action_controller.default_url_options = { :trailing_slash => true }
#config.middleware.swap 'Rack::MethodOverride', 'Rack::MethodOverrideWithParams' #config.middleware.swap 'Rack::MethodOverride', 'Rack::MethodOverrideWithParams'
#config.i18n.exception_handler = I18n::MissingTranslationExceptionHandler.new #config.i18n.exception_handler = I18n::MissingTranslationExceptionHandler.new
#require '/app/helpers/bike_bike_form_helper' #require '/app/helpers/bike_bike_form_helper'

Loading…
Cancel
Save