Sha256: a41b97e9b2ea8de54aff46fd5fcb62003f008ba778bdfd785b3a15fec68aae3b

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
prometheus-splash-0.8.1 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.8.0 lib/splash/webadmin/portal/controllers/documentation.rb
prometheus-splash-0.7.0 lib/splash/webadmin/portal/controllers/documentation.rb