eremail/config/routes.rb

12 lines
221 B
Ruby
Raw Normal View History

2014-04-01 07:12:43 +00:00
Rails.application.routes.draw do
scope "(:locale)", locale: /en|zh_tw/ do
resources :announcements do
collection do
get ':uid/:title', to: 'announcements#show', as: :display
end
end
end
end