I have a TasksController, and a SubtasksController. In a given moment of an action from SubtasksController I want to:
# app/controllers/tasks_controllers.rb
render 'tasks/index' # Or: render template: 'tasks/index'
When that action is called from the view though, it appears rails is trying to render the wrong partial:
ActionView::Template::Error (Missing partial subtasks/tasks, private_area/tasks, application/tasks with {:locale=>[:ca, :es], :formats=>[:js, :html], :handlers=>[:erb, :builder, :slim, :jbuilder, :coffee, :haml]}. Searched in:
* "/Users/****/app/views"
I really don't understand what's going on here, any thoughts?