module AmaLayout::ActionController

Private Instance Methods

check_browser() click to toggle source
# File lib/ama_layout/controllers/action_controller.rb, line 11
def check_browser
  browser_url = 'http://windows.microsoft.com/en-ca/internet-explorer/download-ie'
  flash[:alert] = I18n.t("errors.unsupported_ie", ie_path: browser_url) unless browser.modern?
end