Sha256: 298f9fe6e25d50f92c7c07a887563fc19927990af0c5721bf882e7d4a1a994ff
Contents?: true
Size: 526 Bytes
Versions: 12
Compression:
Stored size: 526 Bytes
Contents
require 'plezi/router/route' require 'plezi/router/errors' require 'plezi/router/assets' 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
12 entries across 12 versions & 1 rubygems