<FromGitter>
<damianham> you can use https://github.com/damianham/amber_render_module and then put the controller,model,views for a feature in a single folder. In the controller use render_module("viewname.slang") instead of render("viewname.slang")
alexherbo2 has joined #amber
<FromGitter>
<backward-crazy-mage-puppy-36_gitlab> @damianham thanks. This is exactly what I was looking for. I have everything setup as per the readme. I am modularising projects so I have src/modules/project directory with project MVsC in it. I have required the shard and modules directory in application.cr, and am using render_module("index.slang") etc as needed. I have fixed the specs. I am running into routing issues. Getting error
<FromGitter>
<damianham> error 500 is an internal server error, if it was a routing issue you would get a 404. Usually the 500 error tells you exactly what the issue is in the server log but the text of the error also goes back to your client so look n the browser console for clues.
alexherbo2 has quit [Read error: Connection reset by peer]