Sha256: 9dc042ed3c057faf460838e874e337b2889ae6590729984f9ec761fc177cf918
Contents?: true
Size: 293 Bytes
Versions: 6
Compression:
Stored size: 293 Bytes
Contents
LatoBlog::Engine.routes.draw do # load custom routes files def draw(routes_name) instance_eval(File.read(LatoBlog::Engine.root.join("config/routes/#{routes_name}.rb"))) end # set root path root 'application#index' # import routes draw :api draw :back draw :doc end
Version data entries
6 entries across 6 versions & 1 rubygems