Actioncontroller::Routingerror (No Route Matches [Get] "/"):

ActionController::RoutingError (No route matches [GET] /):

You need to setup a root route in routes.rb file.

root :to => 'index#index'

Where the first index is the controller name (IndexController) and the second index is the action name in the IndexController.

ActionController::RoutingError: No route matches [GET] /

add this the routes.rb file under the api scope:

get '/', to: proc { [200, {}, ['']] }

ActionController::RoutingError (No route matches [GET] /serviceworker.js):

Going into Chrome's Dev Tools > Application > Clear Storage fixed my issue.

ActionController::RoutingError (No route matches [GET] /assets/javascripts

You need to include these files in application.js manully or just write //= require_tree . to load all js

Similarly, you have to work for css. Add *= require_tree . in application.css.



Related Topics



Leave a reply



Submit