When writing a rails app, we often have to deal with multiple namespaces. The most common case is having classic actions and some others in an admin namespace. Some actions may have same views between namespaces.
For exemple, you could have a ProjectsController
with an action index
:
class ProjectsController < ApplicationController
def index
# do something
end
end