Skip to content

Instantly share code, notes, and snippets.

@pullmonkey
Created August 11, 2012 01:10
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