Sha256: d25059de21264d88294460854bb44a45854ea20a3feb5b79c5e12e981df92761

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

WebAdminApp.get '/documentation' do
  get_menu 5
    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

2 entries across 2 versions & 1 rubygems

Version Path
prometheus-splash-0.6.1 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.6.0 lib/splash/webadmin/portal/controllers/documentation.rb