B
B
Bogdan2018-03-19 14:14:14
Ruby on Rails
Bogdan, 2018-03-19 14:14:14

Where to store modules and how to connect them correctly?

Hello. Tell me, please, where is it correct to store your modules used in controllers in rails, and to connect them via 'include' or do you need to shamanize over configs? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
blackst0ne, 2018-03-19
@bogdan_uman

app/controllers/concerns,lib/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question