Sha256: 7103dcaf59b50e368e96e9d3b3570ff958ec69b4b976e6078504fe2e1e11f18b
Contents?: true
Size: 629 Bytes
Versions: 2
Compression:
Stored size: 629 Bytes
Contents
Dir[File.dirname(__FILE__) + '/controllers/*.rb'].each {|file| require file unless File.basename(file) == 'init.rb'} Dir[File.dirname(__FILE__) + '/helpers/*.rb'].each {|file| require file unless File.basename(file) == 'init.rb'} Slim::Engine.set_options pretty: true def get_menu(current) @menu = ['Logs','Processes','Commands','RestCLIENT','Proxy/Links','Documentation'] @menu_icons = {'Logs' => "file-text",'Processes' => "cogs",'Commands' => 'play-circle-o','RestCLIENT' => "server",'Proxy/Links' => 'random','Documetation' => 'medkit'} @current_item = nil @current_item = @menu[current] unless current == -1 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
prometheus-splash-0.6.1 | lib/splash/webadmin/portal/init.rb |
prometheus-splash-0.6.0 | lib/splash/webadmin/portal/init.rb |