Commit eac5f314 authored by Maxim's avatar Maxim
Browse files

Fixed tutorial bug, groupa/b routing to / now

parent 496284c0
......@@ -5,7 +5,7 @@ import $ from 'jquery'
$(() => {
if(document.cookie == "tutorial=0"){
if(document.cookie.indexOf('tutorial') === -1){
$('#tutorial').removeClass("d-none");
$('#overlay').removeClass("d-none");
}
......
......@@ -39,7 +39,7 @@ Rails.application.routes.draw do
[
302,
{"Content-Type" => 'text/plain',
'Location' => '/group',
'Location' => '/',
'Set-Cookie' => 'sessionToken=a; Expires=Fri, 31 Dec 9999 23:59:59 GMT'},
['302 found']
]
......@@ -48,7 +48,7 @@ Rails.application.routes.draw do
[
302,
{"Content-Type" => 'text/plain',
'Location' => '/group',
'Location' => '/',
'Set-Cookie' => 'sessionToken=b; Expires=Fri, 31 Dec 9999 23:59:59 GMT'},
['302 found']
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment