removing :page from inbox/:author route again

This commit is contained in:
pixeldesu 2015-07-17 21:02:53 +02:00
parent 51f21b73b1
commit d880681f37
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ Rails.application.routes.draw do
match '/notifications(/:type)', to: 'notifications#index', via: :get, as: :notifications, defaults: {type: 'all'} match '/notifications(/:type)', to: 'notifications#index', via: :get, as: :notifications, defaults: {type: 'all'}
match '/inbox', to: 'inbox#show', via: 'get' match '/inbox', to: 'inbox#show', via: 'get'
match '/inbox/:author(/:page)', to: 'inbox#show', via: 'get' match '/inbox/:author', to: 'inbox#show', via: 'get'
match '/user/:username(/p/:page)', to: 'user#show', via: 'get', defaults: {page: 1} match '/user/:username(/p/:page)', to: 'user#show', via: 'get', defaults: {page: 1}
match '/@:username(/p/:page)', to: 'user#show', via: 'get', as: :show_user_profile_alt, defaults: {page: 1} match '/@:username(/p/:page)', to: 'user#show', via: 'get', as: :show_user_profile_alt, defaults: {page: 1}