lib/splash/webadmin/portal/controllers/documentation.rb in prometheus-splash-0.8.1 vs lib/splash/webadmin/portal/controllers/documentation.rb in prometheus-splash-0.8.2
- old
+ new
@@ -1,6 +1,8 @@
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