Sha256: 4b4ce90cf7e0dded96654a0b68ce9032eaaeb897b039e637bb1317d3f9b24ba6
Contents?: true
Size: 672 Bytes
Versions: 158
Compression:
Stored size: 672 Bytes
Contents
# Uncomment this if you reference any of your controllers in activate # require_dependency "application_controller" require "radiant-<%= file_name %>-extension" class <%= class_name %> < TrustyCms::Extension version TrustyCms<%= class_name %>::VERSION description TrustyCms<%= class_name %>::DESCRIPTION url TrustyCms<%= class_name %>::URL # See your config/routes.rb file in this extension to define custom routes extension_config do |config| # config is the TrustyCms.configuration object end def activate # tab 'Content' do # add_item "<%= extension_name %>", "/admin/<%= file_name %>", :after => "Pages" # end end end
Version data entries
158 entries across 158 versions & 1 rubygems