Hello I get this error in the heading of my application.html.erb file
ActionView::Template::Error (TypeError: Cet objet ne gère pas cette propriété ou cette méthode):
2: <html>
3: <head>
4: <title>LifeHacks</title>
5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7: <%= csrf_meta_tags %>
8: </head>
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___906694100_51941424'
Could anyone help me figure out how to fix this? Thanks.
The exception I get well error is
ExecJS::ProgramError in Homepage#index
Here is my homepagecontroller
class HomepageController < ApplicationController
def index
end
end
and lastly here is my routes file
Rails.application.routes.draw do
root "homepage#index"
end
I do have a turbolinks gem added