added 'Places' to top nav

This commit is contained in:
Skud committed 2013-08-12 10:48:06 +10:00
1 parent 32f2830df5
commit be9bc4ba4d
2 files changed
+5

No files matched your search

+1
View File
@@ -10,6 +10,7 @@
%ul.nav
%li= link_to "Crops", crops_path
%li= link_to "Seeds", seeds_path
%li= link_to "Places", places_path
%li.dropdown<
%a.dropdown-toggle{'data-toggle' => 'dropdown', :href => members_path}
Community
+4
View File
@@ -24,6 +24,10 @@ describe 'layouts/_header.html.haml', :type => "view" do
rendered.should contain "Seeds"
end
it 'has a Places link' do
rendered.should contain "Places"
end
it 'has a Community section' do
rendered.should contain "Community"
end