class PostsController < ApplicationController
helper_method :current_user
impressionist
def index
end
def show
def edit
def current_user
if session[:user_id]
user = User.new
user.id = session[:user_id]
@current_user ||= user