lib/generators/active_admin/install/templates/dashboard.rb in activeadmin-1.4.3 vs lib/generators/active_admin/install/templates/dashboard.rb in activeadmin-2.0.0.rc1
- old
+ new
@@ -1,9 +1,8 @@
ActiveAdmin.register_page "Dashboard" do
+ menu priority: 1, label: proc { I18n.t("active_admin.dashboard") }
- menu priority: 1, label: proc{ I18n.t("active_admin.dashboard") }
-
- content title: proc{ I18n.t("active_admin.dashboard") } do
+ content title: proc { I18n.t("active_admin.dashboard") } do
div class: "blank_slate_container", id: "dashboard_default_message" do
span class: "blank_slate" do
span I18n.t("active_admin.dashboard_welcome.welcome")
small I18n.t("active_admin.dashboard_welcome.call_to_action")
end