I am new to ruby/rails and have been learning by creating a simple application. I have a simple view where I want to add a button which when clicked will take you to another view. I tried adding controller and configure the routes but still not sure how to proceed.
The project structure looks like
I agree with max about reading up on MVC and doing the Rails Tutorial. But to answer your question...
Rails.application.routes.draw do get 'reports#index' get 'health#index' end
Then, in your
<%= link_to 'Reports Index', reports_path %>
This will create a link that, when clicked on, will go to the Reports Index page.