I'm new to Rials, and I'm trying to figure out which view is being used by a particular route, via the Rails console?
The application triggers view dynamically, based on certain criteria, and this functionality is obscured by a GEM which I don't have access to at this time, so trying to figure out which view (either a slim or an erb) is being loaded for the route I'm currently on?
Open the terminal on the project folder and write the code below for see all routes with related controllers.
Note: This code should not be run in rails console.
However if you can access application console you can see view partials like below.
For example _working_hours at 5th line, is a partial from triggered by get request.