Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Routes
- map.resource(:trends) do |trend|
- trend.resources(:reports, :controller => 'trends/reports/:action')
- end
- ## Controller
- class Trends::ReportsController < TrendsController
- end
- class TrendsController < ApplicationController
- end
Add Comment
Please, Sign In to add comment