Permalink
Browse files

Add seeds and fixed view bug

  • Loading branch information...
1 parent 8c0808b commit f6e1902a5427f12456126e388b64333f4fb6946a @bangline committed Dec 5, 2011
Showing with 7 additions and 1 deletion.
  1. +1 −1 app/views/layouts/application.html.erb
  2. +6 −0 db/seeds.rb
@@ -8,7 +8,7 @@
</head>
<body>
<% if flash[:notice] %>
- <<p class="notice"><%= flash[:notice] %></p>
+ <p class="notice"><%= flash[:notice] %></p>
<% end %>
<% if flash[:error] %>
<p class="error"><%= flash[:error] %></p>
View
@@ -5,3 +5,9 @@
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
+#
+
+account1 = Factory.create(:account, subdomain: 'test')
+account2 = Factory.create(:account, subdomain: 'test2')
+Factory.create(:user, email: "test1@email.com", account: account1)
+Factory.create(:user, email: "test2@email.com", account: account2)

0 comments on commit f6e1902

Please sign in to comment.