Skip to content

Instantly share code, notes, and snippets.

@pullmonkey
Created August 11, 2012 01:10
Show Gist options
  • Save pullmonkey/3319709 to your computer and use it in GitHub Desktop.
Save pullmonkey/3319709 to your computer and use it in GitHub Desktop.
dynamic select routes
# config/routes.rb
DynamicSelectBoxes::Application.routes.draw do
get 'home/update_artists', :as => 'update_artists'
get 'home/update_songs', :as => 'update_songs'
root :to => "home#index"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment