вот мой маршрут
resources :games do
resources :message_templates, :shallow => true
мои рейк-маршруты такие
game_message_templates GET /games/:game_id/message_templates(.:format) message_templates#index
POST /games/:game_id/message_templates(.:format) message_templates#create
new_game_message_template GET /games/:game_id/message_templates/new(.:format) message_templates#new
edit_message_template GET /message_templates/:id/edit(.:format) message_templates#edit
message_template GET /message_templates/:id(.:format) message_templates#show
PUT /message_templates/:id(.:format) message_templates#update
DELETE /message_templates/:id(.:format) message_templates#destroy
и мой _form.erb, выглядит так
<% form_for(@message_template) do |f| %>
но я получаю эту ошибку
undefined method `message_templates_path'