Sha256: aba5dae6ba3e409005de8af0cad4c8a891e06dca8119b2138def3a5a4c68cbd0
Contents?: true
Size: 308 Bytes
Versions: 2
Compression:
Stored size: 308 Bytes
Contents
FileExplorer::Engine.routes.draw do # get '/', to: 'index#index' get '/:path', to: 'index#path', constraints: { path: /.+/ } delete '/:path', to: 'index#delete', constraints: { path: /.+/ } post '/:path/folder_create', to: 'index#folder_create', constraints: { path: /.+/ } root "index#index" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
file_explorer-0.1.1 | config/routes.rb |
file_explorer-0.1.0 | config/routes.rb |