Skip to content

Commit

Permalink
Fix route bug
Browse files Browse the repository at this point in the history
  • Loading branch information
beydogan committed Mar 26, 2016
1 parent 0a5349d commit 85106ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Rails.application.routes.draw do
resources :movies
root to: "pages#home"
get 'hakkinda', to: "about", as: :about
get 'iletisim', to: "contact", as: :contact
get 'hakkinda', to: "pages#about", as: :about
get 'iletisim', to: "pages#contact", as: :contact

end

0 comments on commit 85106ef

Please sign in to comment.