Skip to content

Commit

Permalink
update deprecation warning for admin.tabs to use tab 'Content'
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Jan 26, 2010
1 parent 34e6268 commit 0ebaa23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/radiant/admin_ui.rb
Expand Up @@ -69,7 +69,7 @@ def visible?(user)
end

def deprecated_add(name, url, caller)
ActiveSupport::Deprecation.warn("admin.tabs.add is no longer supported in Radiant 0.9.x. Please update your code to use admin.nav", caller)
ActiveSupport::Deprecation.warn("admin.tabs.add is no longer supported in Radiant 0.9.x. Please update your code to use: \ntab \"Content\" do\n\tadd_item(...)\nend", caller)
NavSubItem.new(name, url)
end
end
Expand Down

0 comments on commit 0ebaa23

Please sign in to comment.