Commit 8dc1a993 authored by femiadeyemi's avatar femiadeyemi
Browse files

rename existing controller and allow for SPA

Motivation:

Getting the access token is now a desirable. This will
enable the the browser to make a direct call to Cerebrum.

The web application is a single page application, hence
to allow the client routing, it become neccessary for the
error controller to be adjusted

Modification:

- create access to the access_token when a user is full
    authenticated.
- implement the error-controller class so that it will
    forward the request back to the index.html when any
    error is hit

Result:

- SPA now works and access to the token is now available.

Target: master
parent e71f7d6d
Pipeline #45344 failed with stages
in 6 minutes and 26 seconds