Gem gon added. It produces server-side variable values in javascript

5-0-stable
Andrew8xx8 2013-02-19 16:30:37 +04:00
parent c6385e4135
commit cf3cf3750e
3 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,7 @@ group :assets do
gem 'bootstrap-sass', "2.2.1.1"
gem "font-awesome-sass-rails", "~> 3.0.0"
gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
gem "gon"
end
group :development do

View File

@ -184,6 +184,9 @@ GEM
pyu-ruby-sasl (~> 0.0.3.1)
rubyntlm (~> 0.1.1)
gitlab_yaml_db (1.0.0)
gon (4.0.2)
actionpack (>= 2.3.0)
json
grape (0.2.2)
activesupport
hashie (~> 1.2)
@ -483,6 +486,7 @@ DEPENDENCIES
gitlab_meta (= 5.0)
gitlab_omniauth-ldap (= 1.0.2)
gitlab_yaml_db (= 1.0.0)
gon
grack!
grape (~> 0.2.1)
grit!

View File

@ -7,6 +7,7 @@
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
= include_gon
-# Atom feed
- if current_user