Google Groups Home
Help | Sign in
removing html suffix as needed
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
danielwinter  
View profile
 More options Jul 21, 3:54 am
From: danielwinter <spinw...@gmail.com>
Date: Mon, 21 Jul 2008 00:54:29 -0700 (PDT)
Local: Mon, Jul 21 2008 3:54 am
Subject: removing html suffix as needed
I am using suffix: html in my settings.yml for a project and I have
been asked by the client to support a URL without a file extension.

So my question is how do I set in a route to match /pathname instead
of /pathname.html on an ad hoc basis?

cheers
dan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
danielwinter  
View profile
 More options Jul 21, 3:57 am
From: danielwinter <spinw...@gmail.com>
Date: Mon, 21 Jul 2008 00:57:50 -0700 (PDT)
Local: Mon, Jul 21 2008 3:57 am
Subject: Re: removing html suffix as needed
Ah - the key is the final period after the route.
:)

route_name:
  url: /pathname.
  param: { module: home, action: pathname}

Hope this helps someone!

On Jul 21, 5:54 pm, danielwinter <spinw...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google