before_action :authorize_web
before_action :set_locale
before_action :update_totp, :only => [:finish]
+ authorize_resource :class => false
caches_page :embed
format = params[:mapnik_format]
scale = params[:mapnik_scale]
- redirect_to "http://render.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
+ redirect_to "https://render.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
end
end