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