La librairie javascript modernizr a été ajoutée

This commit is contained in:
echarp 2014-03-07 19:34:07 +01:00
parent e54afc25c9
commit b86d5f3950
4 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,7 @@ end
gem 'haml-rails' gem 'haml-rails'
gem 'compass-rails', '1.1.3' gem 'compass-rails', '1.1.3'
gem 'modernizr-rails'
gem 'activeadmin', github: 'gregbell/active_admin' gem 'activeadmin', github: 'gregbell/active_admin'
gem 'rails-i18n' gem 'rails-i18n'
gem 'devise-i18n' gem 'devise-i18n'

View File

@ -160,6 +160,7 @@ GEM
method_source (0.8.2) method_source (0.8.2)
mime-types (1.25.1) mime-types (1.25.1)
minitest (4.7.5) minitest (4.7.5)
modernizr-rails (2.7.1)
multi_json (1.9.0) multi_json (1.9.0)
mysql2 (0.3.15) mysql2 (0.3.15)
nio4r (1.0.0) nio4r (1.0.0)
@ -258,6 +259,7 @@ DEPENDENCIES
jbuilder jbuilder
jquery-rails jquery-rails
jquery-turbolinks jquery-turbolinks
modernizr-rails
mysql2 mysql2
quiet_assets quiet_assets
rails rails

View File

@ -14,4 +14,5 @@
//= require jquery_ujs //= require jquery_ujs
//= require jquery.turbolinks //= require jquery.turbolinks
//= require turbolinks //= require turbolinks
//= require modernizr
//= require_tree . //= require_tree .

View File

@ -1,6 +1,6 @@
!!! 5 !!! 5
/[if IE] /[if IE]
%html(lang="#{I18n.locale}") %html.no-js(lang="#{I18n.locale}")
%head %head
%title=t '.title' %title=t '.title'