Sha256: 1a5a4053475ff552252e43b634f574b571f7fbe7f7b331082e334642ba354c87
Contents?: true
Size: 277 Bytes
Versions: 7
Compression:
Stored size: 277 Bytes
Contents
# frozen_string_literal: true module Thredded class PostPermalinksController < ApplicationController def show post = Post.find(params[:id]) authorize post, :read? redirect_to post_url(post, user: thredded_current_user), status: :found end end end
Version data entries
7 entries across 7 versions & 1 rubygems