Sha256: 41d3502a41ad038bbe7656151eb5bab5f0e19ed196168c402eb612944b19231a
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
module Sibyl class Engine < ::Rails::Engine isolate_namespace Sibyl initializer "static assets" do |app| app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, Rails.root.join("app", "sibyl").to_s) end def self.open require 'launchy' Launchy.open("http://localhost:3000/sibyl/editor/index") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sibyl-0.2.1 | lib/sibyl/engine.rb |
sibyl-0.2.0 | lib/sibyl/engine.rb |