Merge branch 'master' into copyright
This commit is contained in:
commit
7a5ac0394d
127 changed files with 2515 additions and 10137 deletions
|
@ -86,11 +86,11 @@ private
|
|||
end
|
||||
rescue ActionView::TemplateError => ex
|
||||
if ex.original_exception.is_a?(Timeout::Error)
|
||||
render :action => "timeout", :status => :request_timeout
|
||||
render :action => "timeout"
|
||||
else
|
||||
raise
|
||||
end
|
||||
rescue Timeout::Error
|
||||
render :action => "timeout", :status => :request_timeout
|
||||
render :action => "timeout"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -85,7 +85,7 @@ class User < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def languages
|
||||
attribute_present?(:languages) ? read_attribute(:languages).split(",") : []
|
||||
attribute_present?(:languages) ? read_attribute(:languages).split(/ *, */) : []
|
||||
end
|
||||
|
||||
def languages=(languages)
|
||||
|
|
|
@ -1 +1 @@
|
|||
<p class="search_results_error"><%= @error %></p>
|
||||
<p class="search_results_error"><%= h(@error) %></p>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
}
|
||||
|
||||
function updateMapKey() {
|
||||
var layer = map.baseLayer.name.toLowerCase().replace(/\s+/g, "_");
|
||||
var layer = map.baseLayer.keyid;
|
||||
var zoom = map.getZoom();
|
||||
|
||||
<%= remote_function :update => "sidebar_content",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue