diff --git a/app/controllers/admins/forum_sections_controller.rb b/app/controllers/admins/forum_sections_controller.rb index fe55db52..1ce0abb2 100644 --- a/app/controllers/admins/forum_sections_controller.rb +++ b/app/controllers/admins/forum_sections_controller.rb @@ -23,6 +23,7 @@ class Admins::ForumSectionsController < Admins::BaseController def new @parent_id = params[:parent_id] + @forum_section = ForumSection.new end def create diff --git a/app/views/admins/forum_sections/_new_forum.html.erb b/app/views/admins/forum_sections/_new_forum.html.erb index ad0804dc..cc7fb519 100644 --- a/app/views/admins/forum_sections/_new_forum.html.erb +++ b/app/views/admins/forum_sections/_new_forum.html.erb @@ -1,6 +1,7 @@