Sha256: 592b420d926db1f3ba38a72623630f7a3b59d96b8a1ec12215cacdbec8e83d2a
Contents?: true
Size: 433 Bytes
Versions: 1
Compression:
Stored size: 433 Bytes
Contents
module Lanes API.routes.draw do put Lanes.config.api_path + 'system-settings.json', &SystemSettings.update_handler post Lanes.config.api_path + 'save-file-attribute', &API::Handlers::File.saver get Lanes.config.api_path + 'file/*', &API::Handlers::File.getter Extensions.each(reversed: true) do | ext | ext.route(self) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lanes-0.3.0 | lib/lanes/api/default_routes.rb |