Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

rails3 routes

  • Loading branch information...
commit 6d3adf9d66691517f411e389d68b939e1d483d55 1 parent 3ebf46c
Fabio Cantoni authored

Showing 1 changed file with 9 additions and 4 deletions. Show diff stats Hide diff stats

  1. +9 4 config/routes.rb
13 config/routes.rb
... ... @@ -1,7 +1,12 @@
1 1 Rails.application.routes.draw do |map|
2   - map.namespace('tolk') do |tolk|
3   - tolk.root :controller => 'locales'
4   - tolk.resources :locales, :member => {:all => :get, :updated => :get}
5   - tolk.resource :search
  2 + namespace :tolk do
  3 + root :to => 'locales#index'
  4 + resources :locales do
  5 + member do
  6 + get :all
  7 + get :updated
  8 + end
  9 + end
  10 + resource :search
6 11 end
7 12 end

0 comments on commit 6d3adf9

Please sign in to comment.
Something went wrong with that request. Please try again.