1
0
Fork 0

Authenticate user

This commit is contained in:
Alex Kotov 2019-09-02 18:47:06 +05:00
parent d49f71fb4f
commit 37fb3b4e0b
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -1,6 +1,8 @@
# frozen_string_literal: true # frozen_string_literal: true
class Settings::PeopleController < ApplicationController class Settings::PeopleController < ApplicationController
before_action :authenticate_user!, only: :new
before_action :set_account before_action :set_account
before_action :set_person_from_token, only: :new before_action :set_person_from_token, only: :new