mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
Allow anonymous to see raw posts
This commit is contained in:
parent
32000228e6
commit
41332ab7ad
@ -5,7 +5,7 @@ require_dependency 'distributed_memoizer'
|
||||
class PostsController < ApplicationController
|
||||
|
||||
# Need to be logged in for all actions here
|
||||
before_filter :ensure_logged_in, except: [:show, :replies, :by_number, :short_link, :reply_history, :revisions, :expand_embed]
|
||||
before_filter :ensure_logged_in, except: [:show, :replies, :by_number, :short_link, :reply_history, :revisions, :expand_embed, :markdown]
|
||||
|
||||
skip_before_filter :store_incoming_links, only: [:short_link]
|
||||
skip_before_filter :check_xhr, only: [:markdown,:short_link]
|
||||
|
Loading…
Reference in New Issue
Block a user