I'm using 2.0 which I downloaded only a few weeks ago. Something else I'm doing must be affecting it! I'll add "UseExtensions = false" anyway and see how I go.
Tim On Sep 24, 1:23 am, John Simons <[email protected]> wrote: > Hi Tim, > > Which MR version are you using? I've just tried it against 2.0 and couldn't > replicate your problem. > > To disable the use of extensions on urls globally you can set > UseExtensions = false > To do this add the following to your web.config file: > > <monorail smtpHost="smtpserver" smtpPort="25"> > <url useExtensions="false" /> > </monorail>I hope this helps > > Cheers > John > > ________________________________ > From: Tim <[email protected]> > To: Castle Project Users <[email protected]> > Sent: Fri, 24 September, 2010 6:30:27 AM > Subject: UrlHelper link differences when including area? > > Adding an 'area' to the url helper seems to add the .rails extension. > How can I get a link to a controller in an area without the extension? > > $UrlHelper.Link("View Data", "%{controller='$sensor.DataType', > action='summary', querystring='sensor=$sensor'}") > Generates a link to: /simple/summary?sensor=S0001 > > Whereas > $UrlHelper.Link("View Data", "%{area='data', > controller='$sensor.DataType', action='summary', querystring='sensor= > $sensor'}") > Generates a link to: /data/simple/summary.rails?sensor=S0001 > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/castle-project-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
