mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
13 lines
295 B
Ruby
13 lines
295 B
Ruby
class AdminController < ApplicationController
|
|
layout 'admin/application'
|
|
# before_action :authenticate_user!
|
|
|
|
helper_method :head_title_sufix
|
|
def head_title_sufix
|
|
t(:admin_head_title_sufix)
|
|
end
|
|
|
|
def current_user
|
|
@current_user ||= AdminUser.find_by(username: :timo)
|
|
end
|
|
end
|