OSDN Git Service

use relative path instead of absolute path
[mint/mint-server.git] / config / routes.rb
index 1fc86f8..cb4bc5c 100644 (file)
@@ -21,6 +21,7 @@ ActionController::Routing::Routes.draw do |map|
 
   map.help 'help', :controller => 'helps', :action => 'index'
   map.settings 'settings', :controller => 'settings', :action => 'index'
+  map.answer 'problems/answer', :controller => 'problems', :action => 'answer'
 
   # Sample resource route (maps HTTP verbs to controller actions automatically):
   #   map.resources :products