You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
Are you sure your app is using your updated Spree::Page model? Adding the attr_accessible should fix this. I'd suggest making sure your Gemfile points to your modified spree_static_content gem, bundle again, and restart your application. If that still doesn't fix the issue could you send a link to your updated spree_static_content commit to look at?
When creating a new page an error is generated:
Can't mass-assign protected attributes: title, slug, body, meta_title, meta_keywords, meta_description, layout, foreign_link, position, show_in_sidebar, show_in_header, show_in_footer, visible
I've tried to update the
models/spree/page.rb
file to include attr_accessible for those attributes, but it is not working:attr_accessible :title, :slug, :body, :meta_title, :meta_keywords, :meta_description, :layout, :foreign_link, :position, :show_in_sidebar, :show_in_header, :show_in_footer, :visible
The text was updated successfully, but these errors were encountered: