Merge branch 'master' into 369-remove_codemirror

This commit is contained in:
Alexander Machehin 2014-04-15 16:02:32 +06:00
commit 205905e0dd
4 changed files with 10 additions and 2 deletions

View File

@ -314,7 +314,7 @@ GEM
posix-spawn (0.3.8)
protected_attributes (1.0.7)
activemodel (>= 4.0.1, < 5.0)
puma (2.8.1)
puma (2.8.2)
rack (>= 1.1, < 2.0)
pygments.rb (0.5.4)
posix-spawn (~> 0.3.6)

View File

@ -65,5 +65,9 @@ Rosa::Application.configure do
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w(login.css login.js reg_session.css tour.css tour.js gollum/editor/langs/*.js moment/ru.js)
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
config.assets.css_compressor = :sass
config.eager_load = true
end

View File

@ -64,6 +64,10 @@ Rosa::Application.configure do
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w(login.css login.js reg_session.css tour.css tour.js gollum/editor/langs/*.js moment/ru.js)
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
config.assets.css_compressor = :sass
config.eager_load = true
config.log_redis = true
end

View File

@ -371,7 +371,7 @@ Rosa::Application.routes.draw do
# Commit comments
post '/commit/:commit_id/comments(.:format)' => "comments#create", as: :project_commit_comments
get '/commit/:commit_id/comments/:id(.:format)' => "comments#edit", as: :edit_project_commit_comment
put '/commit/:commit_id/comments/:id(.:format)' => "comments#update", as: :project_commit_comment
patch '/commit/:commit_id/comments/:id(.:format)' => "comments#update", as: :project_commit_comment
delete '/commit/:commit_id/comments/:id(.:format)' => "comments#destroy"
get '/commit/:commit_id/add_line_comments(.:format)' => "comments#new_line", as: :new_line_commit_comment
# Commit subscribes