Sha256: 0703bd3aa19ab9c6f4b6ad86432bf4ddd8e3a2622c780464f15182aadffc7463
Contents?: true
Size: 488 Bytes
Versions: 5
Compression:
Stored size: 488 Bytes
Contents
require 'plezi/router/route' require 'plezi/router/errors' require 'plezi/router/assets' require 'rack' module Plezi module Base module Router class ADClient def index fname = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'resources', 'client.js')) response.body = File.open(fname) response['X-Sendfile'] = fname true end def show index end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems