1 2 3 4 |
# Match the subdomain to the useraccount
r.match(:username => /^\w+\b/) do |user|
user.match("/:permalink").to(:controller => 'projects', :action => 'show')
end
|
1 2 3 4 |
# Match the subdomain to the useraccount
r.match(:username => /^\w+\b/) do |user|
user.match("/:permalink").to(:controller => 'projects', :action => 'show')
end
|