Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##Routes
- map.namespace(:trends) do |trend|
- trend.resource :reports
- end
- ##Controllers
- class TrendsController < ApplicationController
- def index
- end
- def show
- end
- end
- class ReportsController < TrendsController
- end
Add Comment
Please, Sign In to add comment