mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 22:32:11 +00:00
requires_login
This commit is contained in:
parent
f88ab32434
commit
193f92c89b
@ -4,6 +4,8 @@ module ::DiscourseRewind
|
|||||||
class RewindsController < ::ApplicationController
|
class RewindsController < ::ApplicationController
|
||||||
requires_plugin PLUGIN_NAME
|
requires_plugin PLUGIN_NAME
|
||||||
|
|
||||||
|
requires_login
|
||||||
|
|
||||||
def show
|
def show
|
||||||
DiscourseRewind::Rewind::Fetch.call(service_params) do
|
DiscourseRewind::Rewind::Fetch.call(service_params) do
|
||||||
on_model_not_found(:year) { raise Discourse::NotFound }
|
on_model_not_found(:year) { raise Discourse::NotFound }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user