Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Last active November 27, 2015 19:54
Show Gist options
  • Save tbuehlmann/c3e5eed158d73cb50d59 to your computer and use it in GitHub Desktop.
Save tbuehlmann/c3e5eed158d73cb50d59 to your computer and use it in GitHub Desktop.
resource :report do
resources :subjects, only: :index
end
class SubjectsController < ApplicationController
def index
# ...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment