Sha256: 19910c6a2cdc1811d4c0d997e0c31414f91fdd0614bf881652b9f1a7b202439c

Contents?: true

Size: 582 Bytes

Versions: 10

Compression:

Stored size: 582 Bytes

Contents

# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'

class <%= class_name %> < Spree::Extension
  version "1.0"
  description "Describe your extension here"
  url "http://yourwebsite.com/<%= file_name %>"

  # Please use <%= file_name %>/config/routes.rb instead for extension routes.

  # def self.require_gems(config)
  #   config.gem "gemname-goes-here", :version => '1.2.3'
  # end
  
  def activate
    # admin.tabs.add "<%= extension_name %>", "/admin/<%= file_name %>", :after => "Layouts", :visibility => [:all]
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 lib/generators/extension/templates/extension.rb
spree-0.8.4 lib/generators/extension/templates/extension.rb
spree-0.8.5 lib/generators/extension/templates/extension.rb
spree-0.6.0 lib/generators/extension/templates/extension.rb
spree-0.7.1 lib/generators/extension/templates/extension.rb
spree-0.7.0 lib/generators/extension/templates/extension.rb
spree-0.8.0 lib/generators/extension/templates/extension.rb
spree-0.8.1 lib/generators/extension/templates/extension.rb
spree-0.8.2 lib/generators/extension/templates/extension.rb
spree-0.8.3 lib/generators/extension/templates/extension.rb