Configure standard rails javascript behavior

This commit is contained in:
Thibault Jouan 2015-05-04 21:41:50 +00:00
parent 780dbc8942
commit e647aa257f
4 changed files with 17 additions and 0 deletions

View File

@ -8,6 +8,9 @@ gem 'unicorn-rails'
gem 'haml'
gem 'rabl'
gem 'uglifier'
gem 'jquery-rails'
group :development, :test do
gem 'pry-rails'

View File

@ -59,6 +59,7 @@ GEM
coderay (1.1.0)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.5.2)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.5.0)
@ -91,6 +92,10 @@ GEM
tilt
hitimes (1.2.2)
i18n (0.7.0)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.2)
kgio (2.9.3)
listen (2.10.0)
@ -197,6 +202,9 @@ GEM
hitimes
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.1)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicorn (4.9.0)
kgio (~> 2.6)
rack
@ -218,6 +226,7 @@ DEPENDENCIES
guard-rspec
guard-spork
haml
jquery-rails
pg
pry-rails
rabl
@ -227,4 +236,5 @@ DEPENDENCIES
rspec-rails
shoulda-matchers
spork!
uglifier
unicorn-rails

View File

@ -0,0 +1,2 @@
//= require jquery
//= require jquery_ujs

View File

@ -3,6 +3,8 @@
%head
%meta{charset: 'utf-8'}
%title scube
= javascript_include_tag 'application'
= csrf_meta_tag
%body