lib/bad_browser.rb
# Get update URL for respective browser
Get update URL for respective browser
Get update URL for respective browser
def update_url
      case params[:for].to_sym
      when :msie then "http://www.microsoft.com/ie"
      when :firefox then "http://www.mozilla.org/firefox"
      when :chrome then "http://www.google.com/chrome"
      when :safari then "http://www.apple.com/safari"
      when :opera then "http://www.opera.com/"
      end
    end
def update_url case params [ :for ] . to_sym when :msie then "http://www.microsoft.com/ie" when :firefox then "http://www.mozilla.org/firefox" when :chrome then "http://www.google.com/chrome" when :safari then "http://www.apple.com/safari" when :opera then "http://www.opera.com/" end end
Get update URL for respective browser
Get update URL for respective browser