]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Remove non-functional code
[rails.git] / app / helpers / application_helper.rb
index e0c299ca54ce0e4b2a6c329b5f7be0b6d7eb75ac..000677646f58c0ab587b2a6c1b9647fc03fb80c8 100644 (file)
@@ -87,4 +87,12 @@ module ApplicationHelper
       end
     end
   end
+
+  def dir
+    if dir = params[:dir]
+      dir == "rtl" ? "rtl" : "ltr"
+    else
+      I18n.t("html.dir")
+    end
+  end
 end