Custom section - Call to

(OG) #1

Hello, I have added few custom routes and wonder why some bug in my code have introduced this error. When loading this custom section following is shown (javascript tries to GET this file)…

ActionController::RoutingError (No route matches [GET] “/assets/”)
/home/overgrow/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionpack-4.2.7/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call’

I haven’t found any information about “”.(Why is it requesting this file in the first place). Can you please suggest what error in my routing could lead to this error?

I’m using this syntax:

this.route(‘faq_categories’, {path: ‘/sitefaq’} );
this.route(‘faq_category’, { path: ‘/sitefaq/:id’ } );

Thank you

(Robin Ward) #2

The request for the map file is due to source maps and not the result of anything you did. Besides being in the log it’s nothing to worry about.

(Robin Ward) #3