mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
glitch-soc theme engine fixes for the challenges controller
This commit is contained in:
parent
16ff7c5627
commit
7fd54178d0
@ -5,6 +5,7 @@ class Auth::ChallengesController < ApplicationController
|
||||
|
||||
layout 'auth'
|
||||
|
||||
before_action :set_pack
|
||||
before_action :authenticate_user!
|
||||
|
||||
skip_before_action :require_functional!
|
||||
@ -19,4 +20,10 @@ class Auth::ChallengesController < ApplicationController
|
||||
render_challenge
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def set_pack
|
||||
use_pack 'auth'
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user