From c42a7a0082a16b47b6bb6d1b919a4b5ec6e7860d Mon Sep 17 00:00:00 2001
From: kennyj <kennyj@gmail.com>
Date: Wed, 6 Jun 2012 00:59:01 +0900
Subject: Support unicode character route in config/routes.rb.

---
 guides/source/routing.textile | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'guides/source/routing.textile')

diff --git a/guides/source/routing.textile b/guides/source/routing.textile
index 7941e655bb..dae25853cd 100644
--- a/guides/source/routing.textile
+++ b/guides/source/routing.textile
@@ -644,6 +644,14 @@ You should put the +root+ route at the top of the file, because it is the most p
 
 NOTE: The +root+ route only routes +GET+ requests to the action.
 
+h4. Unicode character routes
+
+You can specify unicode character routes directly. For example
+
+<ruby>
+match 'こんにちは' => 'welcome#index'
+</ruby>
+
 h3. Customizing Resourceful Routes
 
 While the default routes and helpers generated by +resources :posts+ will usually serve you well, you may want to customize them in some way. Rails allows you to customize virtually any generic part of the resourceful helpers.
-- 
cgit v1.2.3

