Hi,
The old site I am migrating to Radiant used mixed case URLs, and
Radiant is case sensitive.
I’d prefere to have all lowercase URLs (as per default slugs)
Is there a way to set Radiant case insensitive?
–
Regards,
Dave
Hi,
The old site I am migrating to Radiant used mixed case URLs, and
Radiant is case sensitive.
I’d prefere to have all lowercase URLs (as per default slugs)
Is there a way to set Radiant case insensitive?
–
Regards,
Dave
Dave C. wrote:
The old site I am migrating to Radiant used mixed case URLs, and
Radiant is case sensitive.I’d prefere to have all lowercase URLs (as per default slugs)
Is there a way to set Radiant case insensitive?
No. It should be pretty easy to create a plugin to do this though. You
would need to do the following:
add a validations on Page#slug so that it had to be a unique
non-case-sensitive URL
modify the find method on Page so that it is case insensitive
I think that’s it.
–
John L.
http://wiseheartdesign.com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs