mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 02:28:50 +01:00
Add authentication with devise, fix tests
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class TranslationsController < ApplicationController
|
||||
skip_before_action :authenticate_admin!, only: [:new, :create]
|
||||
before_action :set_translation, only: :show
|
||||
before_action :set_problem, only: [:new, :create]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user