Skip to content
  • femiadeyemi's avatar
    rename existing controller and allow for SPA · 8dc1a993
    femiadeyemi authored
    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
    8dc1a993