X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/20cab5b9bf9c8a29f91b96949bf4b593c508d0b4..c7ffb35e8b07255796e62e52a6a23950f88ae093:/app/helpers/application_helper.rb diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c24e7ff5b..6e2ecd323 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -50,7 +50,7 @@ module ApplicationHelper css << ".show_if_user_#{@user.id} { display: inline }" if @user; css << ".hide_unless_administrator { display: none }" unless @user and @user.administrator?; - return content_tag(:style, css) + return content_tag(:style, css, :type => "text/css") end def if_logged_in(tag = :div, &block)