Sha256: 916c4e02ef6b7e53d3b3b67253978fa02fb7b5bc28e4b63a51e1b85bbf2b4b83

Contents?: true

Size: 330 Bytes

Versions: 7

Compression:

Stored size: 330 Bytes

Contents

WebAdminApp.get '/documentation' do
  get_menu 6
  log = get_logger
  log.call "WEB : documentation, verb : GET, controller : /documentation"
    filename = search_file_in_gem("prometheus-splash","README.md")
    @data = Kramdown::Document.new(File::readlines(filename).join).to_html
    slim :documentation, :format => :html
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
prometheus-splash-0.9.1 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.9.0 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.8.6 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.8.5 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.8.4 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.8.3 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.8.2 lib/splash/webadmin/portal/controllers/documentation.rb