try:

    resources :playlists do
        member do
            post :add_song
        end
    end

This will create the route '/playlists/:id/add_song', which follows rest better.