diff --git a/config/routes.rb b/config/routes.rb index 02fb50f..067b114 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -14,5 +14,7 @@ Vidpush::Application.routes.draw do end end - match "/djweb" => DelayedJobWeb, :anchor => false, via: [:get, :post] + authenticated :user do + match "/djweb" => DelayedJobWeb, :anchor => false, via: [:get, :post] + end end