app/controllers/phcpress/article/categories_controller.rb
def create
      @article_category = Phcpress::Article::Category.new(article_category_params)
      @article_category.user_id = current_user.id
      @article_category.org_id = current_user.org_id
      if @article_category.save
        redirect_to article_categories_url, notice: 'Category was successfully created.'
      else
          render :new
      end
    end
def create
      @article_category = Phcpress::Article::Category.new(article_category_params)
      @article_category.user_id = current_user.id
      @article_category.org_id = current_user.org_id
      if @article_category.save
        redirect_to article_categories_url, notice: 'Category was successfully created.'
      else
          render :new
      end
    end
POST