Sha256: bbdbc1ff94fdff13511378b4af916c713d56ed9d6f66255dee24a7bdc22331ae
Contents?: true
Size: 938 Bytes
Versions: 8
Compression:
Stored size: 938 Bytes
Contents
require_relative "../<%= identifier %>" # This will load the "Workspace" extension, which provides # a menu and tab based switching between screens. require "lanes/workspace/extension" # This will load the "Access" extension, which provides # Role based user access controls. Before enabling it # make sure that you have created some users in db/seed.rb # # require "lanes/workspace/access" module <%= namespace %> class Extension < Lanes::Extensions::Definition identifier "<%= identifier %>" title "<%= title %>" root_path Pathname.new(__FILE__).dirname.join("..","..").expand_path # If a data structure that can be represented as JSON # is returned from this method, it will be passed to # the setBootstrapData method in client/<%= identifier %>/Extension.coffee # when the app boots def client_bootstrap_data(view) nil end end end
Version data entries
8 entries across 8 versions & 1 rubygems