Good day to all!
Surely, you're familiar with such a cool thing in Rails as Layouts. If an application should have a single interface, then one such Layout a is enough а - application.html`, which, in fact, is used by default if there is nothing else, and the configuration remains unchanged. But if you use the familiar Ruby constructor in controllers:
def initialize ... end This layout is not used. Actually, why so?
Thank)