Skip to content

Commit

Permalink
Merge pull request #3106 from refinery/bugfix/3105
Browse files Browse the repository at this point in the history
Add slug in generated seeds
  • Loading branch information
parndt committed Feb 15, 2016
2 parents ed7bbea + 6664fbb commit 2cc6b6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Refinery::I18n.frontend_locales.each do |lang|
menu_match: "^#{url}(\/|\/.+?|)$"
) do |page|
Refinery::Pages.default_parts.each_with_index do |part, index|
page.parts.build title: part, body: nil, position: index
page.parts.build title: part[:title], slug: part[:slug], body: nil, position: index
end
end if defined?(Refinery::Page)
<% end -%>
Expand Down

0 comments on commit 2cc6b6f

Please sign in to comment.