mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-09-17 19:41:02 +02:00
18 lines
288 B
Ruby
18 lines
288 B
Ruby
module ApplicationHelper
|
|
def need_restart?
|
|
Plugin.gemfile_changed?
|
|
end
|
|
|
|
def installing_gem?
|
|
GemInstaller::WORKING.present?
|
|
end
|
|
|
|
def link_to_other(text, path)
|
|
if current_page?(path)
|
|
content_tag(:strong, text)
|
|
else
|
|
link_to text, path
|
|
end
|
|
end
|
|
end
|