Skip to content

Commit

Permalink
Fix typo in "Create a navigation_label" example
Browse files Browse the repository at this point in the history
  • Loading branch information
oponder committed Nov 1, 2011
1 parent 84e17c3 commit 6c20367
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,15 @@ you want to get the Team model's visibility, you use
`RailsAdmin.config(Team).visible?`.

**Create a navigation_label in navigation**

# Given there are the following models: League, Team and Division

RailsAdmin.config do |config|
config.model Team do
parent League
end

config.model Team do
config.model Division do
parent League
end
end
Expand Down

0 comments on commit 6c20367

Please sign in to comment.