Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Markech
refinerycms-photo-gallery
Commits
925bfcb7
Commit
925bfcb7
authored
Sep 27, 2012
by
Martin Markech
Browse files
we don't need to create photo gallery page on frontend in 0.1.0
parent
c41f7cac
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/seeds.rb
View file @
925bfcb7
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment