Add a help page with link to the user manual and other sources

This commit is contained in:
Jyri-Petteri Paloposki 2020-07-23 22:20:28 +03:00
parent 5be552a71f
commit cf5751cdce
5 changed files with 20 additions and 0 deletions

View file

@ -12,6 +12,10 @@ class IntegrationsController < ApplicationController
@page_title = 'TRACKS::REST API Documentation'
end
def help
@page_title = 'TRACKS::Help'
end
def search_plugin
@icon_data = [File.open(File.join(Rails.root, 'app', 'assets', 'images', 'done.png')).read].
pack('m').gsub(/\n/, '')