Associations II 4.7

In the routes file, create a new route that maps the URL /movies to the Movies controller’s index action.

-in config/route.rb- i dont know if this a bug or what, i know my code is correct but i didnt pass the exercises.
please help me…Thanks

heres my code:
Rails.aplication.routes.draw do
get ‘/movies’ => ‘movies#index’
end

Hi @jhinghem,

aplication

It looks to me like you’ve spelled application wrong.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.