Skip to content

Commit

Permalink
Adds statuses to seeded profiles.
Browse files Browse the repository at this point in the history
Without this, the new Publify platforms would not have the statuses enabled.
  • Loading branch information
Frédéric de Villamil committed Aug 14, 2013
1 parent 5be3fdc commit f1e571d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/seeds.rb
Expand Up @@ -29,9 +29,9 @@
markup: 'textile', filters: [], params: {})

admin = Profile.create(label: 'admin', nicename: 'Publify administrator',
modules: [:dashboard, :articles, :pages, :media, :feedback, :themes, :sidebar, :users, :settings, :profile, :seo])
modules: [:dashboard, :articles, :statuses, :pages, :feedback, :media, :themes, :sidebar, :profile, :users, :settings, :seo])
publisher = Profile.create(label: 'publisher', nicename: 'Blog publisher',
modules: [:dashboard, :articles, :media, :pages, :feedback, :profile])
modules: [:dashboard, :articles, :statuses, :pages, :feedback, :media, :profile])
contributor = Profile.create(label: 'contributor', nicename: 'Contributor',
modules: [:dashboard, :profile ])

Expand Down

0 comments on commit f1e571d

Please sign in to comment.