Skip to content

Commit

Permalink
Add slug in generated seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez committed Feb 12, 2016
1 parent 019f183 commit 6664fbb
Showing 1 changed file with 1 addition and 1 deletion.
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 6664fbb

Please sign in to comment.