Sha256: 9400bb1a8443702c1b45ab802145722756130d6b67c3411b9b8150e74a46ec78

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 Bytes

Contents

# The welcome widget shows a welcome message explaining a few things about Zen.
# It also shows a list of links to common resources such as the documentation.
Dashboard::Widget.add do |w|
  w.name  = :welcome
  w.title = 'dashboard.widgets.titles.welcome'
  w.data  = lambda do |instance|
    return render_file(__DIR__('../view/admin/widget/welcome.xhtml'))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/dashboard/lib/dashboard/widget/welcome.rb
zen-0.4.2 lib/zen/package/dashboard/lib/dashboard/widget/welcome.rb
zen-0.4.1 lib/zen/package/dashboard/lib/dashboard/widget/welcome.rb
zen-0.4 lib/zen/package/dashboard/lib/dashboard/widget/welcome.rb