Move user lookup and error render to concerns

This commit is contained in:
Anton Khorev 2023-08-21 01:11:49 +03:00
parent 7054cea48e
commit 4ceebefefa
11 changed files with 37 additions and 18 deletions

View file

@ -1,4 +1,6 @@
class FriendshipsController < ApplicationController
include UserMethods
layout "site"
before_action :authorize_web