gary (owner)

Revisions

gist: 37628 Download_button fork
public
Public Clone URL: git://gist.github.com/37628.git
Embed All Files: show embed
router.rb #
1
2
3
4
5
6
  match(:first_subdomain => ":subdomain").namespace('newspapers') do |sd|
    sd.match('/').to(:controller => :first_subdomain, :action => 'index')
  end
 
  match('/').to(:controller => 'basic_newspaper', :action => 'index')