app/controllers/phcpress/article/posts_controller.rb
def create
      @article_post = Phcpress::Article::Post.new(article_post_params)
      @article_post.user_id = current_user.id
      @article_post.org_id = current_user.org_id
      if @article_post.save
        redirect_to article_posts_url, notice: 'Post was successfully created.'
        else
          render :new
      end
    end
def create
      @article_post = Phcpress::Article::Post.new(article_post_params)
      @article_post.user_id = current_user.id
      @article_post.org_id = current_user.org_id
      if @article_post.save
        redirect_to article_posts_url, notice: 'Post was successfully created.'
        else
          render :new
      end
    end
POST