]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Supply hints for OSRM
[rails.git] / app / controllers / application_controller.rb
index 7754f72fde350d57ac27c638d24a7b83194ed412..3830df88bf40fb9b117af17b2d1d27804f821be8 100644 (file)
@@ -431,7 +431,7 @@ class ApplicationController < ActionController::Base
       DEFAULT_EDITOR
     end
 
-    if request.env['HTTP_USER_AGENT'] =~ /MSIE/ and editor == 'id'
+    if request.env['HTTP_USER_AGENT'] =~ /MSIE|Trident/ and editor == 'id'
       editor = 'potlatch2'
     end