Sha256: 10f857f1677703dae49cdca98f27805543344518ed97810b367223cc86b811cc
Contents?: true
Size: 695 Bytes
Versions: 1
Compression:
Stored size: 695 Bytes
Contents
# Uncomment this if you reference any of your controllers in activate # require_dependency 'application_controller' require 'kajam-<%= file_name %>-extension/version' class <%= class_name %> < Kajam::Extension version Kajam<%= class_name %>::VERSION description "Adds <%= file_name %> to Kajam." url "<%= homepage %>" # extension_config do |config| # config.gem 'some-awesome-gem' # config.after_initialize do # run_something # end # end # See your config/routes.rb file in this extension to define custom routes def activate # tab 'Content' do # add_item "<%= extension_name %>", "/admin/<%= file_name %>", :after => "Pages" # end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kajam-1.0.3.rc2 | lib/generators/extension/templates/extension.rb |