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

Improve the routes.rb file generation from templates. #280

Open
peakpg opened this issue May 6, 2011 · 0 comments
Open

Improve the routes.rb file generation from templates. #280

peakpg opened this issue May 6, 2011 · 0 comments

Comments

@peakpg
Copy link
Collaborator

peakpg commented May 6, 2011

Imported from lighthouse. Original ticket at: http://browsermedia.lighthouseapp.com/projects/28481/tickets/75. Created by Patrick Peak - 2009-05-13 19:00:34 UTC

The current blank.rb and demo.rb templates include the default rails routes files, including lots of comments and

map.connect :controller/:action/:id

which is unnecessary, and will never be reached as the browser_cms route catches everything.

Task

  1. Remove the default routes file, and create one more specific to browsercms.
  2. It should not include the default routes, and should have comments specifically about where users can add module routes, as well as project specific routes.
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