Sha256: af7c48791edffb656844e2cca2a522cd0f2264e4b2cbc83b93d5373b123a290a
Contents?: true
Size: 595 Bytes
Versions: 5
Compression:
Stored size: 595 Bytes
Contents
module Qbrick module AdminHelper # # When rendering the layout of our host application, # the paths of the host application are not visible to the engine # therefore we delegate all failing helper calls to 'main_app', # which is our host application # def method_missing(method, *args, &block) main_app.send(method, *args, &block) rescue NoMethodError super end def sublime_video_include_tag token = Qbrick::Engine.config.sublime_video_token javascript_include_tag "//cdn.sublimevideo.net/js/#{token}-beta.js" end end end
Version data entries
5 entries across 5 versions & 1 rubygems