ddf892b9f2
Make it easier to override the set of loggers, by putting them in a separate method. Also modify spec so it tests for links, instead of checking for regular text.
18 lines
311 B
Ruby
18 lines
311 B
Ruby
class Admin::LogsController < Admin::ApplicationController
|
|
before_action :loggers
|
|
|
|
def show
|
|
end
|
|
|
|
private
|
|
|
|
def loggers
|
|
@loggers ||= [
|
|
Gitlab::AppLogger,
|
|
Gitlab::GitLogger,
|
|
Gitlab::EnvironmentLogger,
|
|
Gitlab::SidekiqLogger,
|
|
Gitlab::RepositoryCheckLogger
|
|
]
|
|
end
|
|
end
|