Commit 925bfcb7 authored by Martin Markech's avatar Martin Markech
Browse files

we don't need to create photo gallery page on frontend in 0.1.0

parent c41f7cac
......@@ -7,15 +7,3 @@ if defined?(::Refinery::User)
end
end
if defined?(Refinery::Page) and !Refinery::Page.exists?(:link_url => '/photo-gallery')
page = Refinery::Page.create(
:title => "Photo galleries",
:link_url => "/photo-gallery",
:deletable => false,
:menu_match => "^/photo-gallery?(\/|\/.+?|)$"
)
Refinery::Pages.default_parts.each do |default_page_part|
page.parts.create(:title => default_page_part, :body => nil)
end
end
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment