# frozen_string_literal: true class Posts::PreviewsController < ApplicationController skip_authorization_check def create # If only there was a better way... TODO @post = Post.new(description: params[:body]) render partial: 'posts/description' end end