Topic: custom urls from values in db
Hello, I have seen a couple of rails tutorials that show how to build a simple cms.
One cms feature that I have not yet seen explained is how to allow custom urls to be input by the cms admin.
I know how to give a page any name by putting it in the routes.rb file, but most cms's I have seen allow the admin to generate a page's url by adding the name in a form field when creating the page.
Is it possible to have this functionality in Rails by having the routes.rb file pull a value from the database to use as the url?