Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy Move bug if you copy something two times #7

Open
christophel opened this issue Aug 11, 2010 · 0 comments
Open

Copy Move bug if you copy something two times #7

christophel opened this issue Aug 11, 2010 · 0 comments

Comments

@christophel
Copy link

I think there is a bug in model.rb:8, def new_slug_and_title_under()
If I copy a page two times to the same directory I get an exception.
I think this code is better in line 8:
test_page.title = "#{title} (Copy#{' '+index.to_s if index > 1})"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant