spree-contrib / spree_static_content

Manage static pages for Spree Commerce.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
217 stars 333 forks source link

How do I get the Pages menu item in the admin #266

Closed charuwts closed 5 years ago

charuwts commented 5 years ago

In the readme it is stated that "Using the 'Pages' option in the admin tab, you can add static pages to your Spree install. "

However, with a fresh install of spree 3.7 and this gem installed I don't see a pages option in the admin.

Gemfile:

source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.4.2'

gem 'rails', '~> 5.2.3'
gem 'pg', '>= 0.18', '< 2.0'
gem 'puma', '~> 3.11'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'bootsnap', '>= 1.1.0', require: false

group :development, :test do
  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
  gem 'rspec-rails'
end

group :development do
  gem 'web-console', '>= 3.3.0'
  gem 'listen', '>= 3.0.5', '< 3.2'
  gem 'spring'
  gem 'spring-watcher-listen', '~> 2.0.0'
end

# Spree
gem 'spree', '~> 3.7'
gem 'spree_auth_devise', '~> 3.5'
gem 'spree_gateway', '~> 3.4'
gem 'spree_static_content', github: 'spree-contrib/spree_static_content'
gem 'spree_digital', github: 'spree-contrib/spree_digital'

And after bundle install I did run bundle exec rails g spree_static_content:install

Is there something I missed? Or is this some kind of bug?

Steps to reproduce: