2022-11-28 22:58:17 +01:00
|
|
|
module Merged
|
2023-01-10 11:24:28 +01:00
|
|
|
class MergedController < ::ApplicationController
|
2023-10-23 19:10:44 +02:00
|
|
|
before_action :authenticate_if
|
2023-01-10 11:24:28 +01:00
|
|
|
layout "merged/application"
|
2023-10-23 19:10:44 +02:00
|
|
|
|
|
|
|
def authenticate_if
|
|
|
|
return unless respond_to? :"authenticate_member!"
|
|
|
|
authenticate_member!
|
|
|
|
end
|
2022-11-28 22:58:17 +01:00
|
|
|
end
|
|
|
|
end
|