From e09d3a2c6692fbc16cc6788cdc32b87e86f0b60f Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 21 Dec 2016 00:13:13 +0100 Subject: Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen --- app/views/about/index.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/views/about') diff --git a/app/views/about/index.html.haml b/app/views/about/index.html.haml index 160a66710..fe13de837 100644 --- a/app/views/about/index.html.haml +++ b/app/views/about/index.html.haml @@ -2,6 +2,7 @@ = Rails.configuration.x.local_domain - content_for :header_tags do + = javascript_include_tag 'application_public' %meta{ property: 'og:site_name', content: 'Mastodon' }/ %meta{ property: 'og:type', content: 'website' }/ %meta{ property: 'og:title', content: Rails.configuration.x.local_domain }/ @@ -25,5 +26,5 @@ = link_to t('about.terms'), terms_path = link_to t('about.source_code'), 'https://github.com/Gargron/mastodon' - = link_to t('about.get_started'), new_user_registration_path, class: 'button' - = link_to t('auth.login'), new_user_session_path, class: 'button' + = link_to t('about.get_started'), new_user_registration_path, class: 'button webapp-btn' + = link_to t('auth.login'), new_user_session_path, class: 'button webapp-btn' -- cgit