Answer the question
In order to leave comments, you need to log in
Routing in Rails?
Hello. There is a controller which is located in the institution folder
. Is it possible to rewrite everything to symbolic variables such routing.
root action: :index, controller: 'institution/base'
# Так не работает и генерирует вот такой Controller#Action: base#index {:module=>:institution}
root action: :index, module: :institution, controller: :base
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question