Sha256: 1ff36b1b9ebbb1fd4d006c19ef9ffa857148563fe1347dfab91734b0b8d67d31
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
ChooChoo::Engine.routes.draw do # a intresting thing here would be to have altanative routes. # one example is the facebook user profile where you can se another persons activities. # Then we cannot rely on current_user to know what should be shown. # Instead we need to send a id param to get another users activities. # For example: get "activities/users/:id/", to: "activities#index" get '/activities/', to: 'activities#index', as: 'activities' root :to => 'activities#index' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
choo_choo-0.0.1 | config/routes.rb |