Please sign in to comment.
Since we don't want Typo users to mess with command line, we have alw…
…ays setup the blog model and initial data when trying to reach it at first load from the browser. Since we moved the initial schema generation to schema.rb and initial data to seed.rb, this didn't work anymore. This commit adds a call to rake db:seed when loading the initial schema and moves the initial page creation into the setup controller after creating the first user. For some reasons, I need to force the User, Page and Article model reload before creating anything. Not sure how I can test this. This solves issue #84.
- Loading branch information...
Showing with 16 additions and 6 deletions.