Edited routes by assigning the root_path to a store/index view if a subdomain is present.