Class: Admin::PagesController
- Inherits:
-
BaseController
- Object
- BaseController
- Admin::PagesController
- Defined in:
- app/controllers/admin/pages_controller.rb
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'app/controllers/admin/pages_controller.rb', line 4 def new @page = Page.new(:user_id => current_user.id) @page.is_active = Spree::Config[:wordsmith_page_status_default] @page.commentable = Spree::Config[:wordsmith_page_comment_default] respond_to do |format| format.html end end |