config/routes.rb in writefully-0.4.10 vs config/routes.rb in writefully-0.5.0
- old
+ new
@@ -3,10 +3,11 @@
resources :sites do
get 'tab/:tab', to: 'sites#show', as: :tab, on: :member
resources :posts, only: [:index, :show]
end
- resources :authorships
+ resource :profile, only: [:edit]
+ resource :authorship, only: [:update]
resource :hook, only: [:create]
get '/signin', to: 'sessions#new'
get '/owner/auth', to: 'sessions#create'
get '/signout', to: 'sessions#destroy'