My routes.rb:
resources :board
root :to => 'application#index'
match ':controller(/:action(/:id(.:format)))'
in my BoardController I have a method called take_turn
but when I click on a link that points to board#take_turn, I get the error:
Unknown action
The action 'show' could not be found for BoardController
The link looks like this:
http://localhost:3000/board/take_turn?x=0&y=0
Path by default: take_turn_boards_path