Explain what is the role of sub-directory app/controllers and app/helpers?

Technology CommunityCategory: Ruby on RailsExplain what is the role of sub-directory app/controllers and app/helpers?
VietMX Staff asked 3 years ago
  • App/controllers: A web request from the user is handled by the Controller. The controller sub-directory is where Rails looks to find controller classes
  • App/helpers: The helper’s sub-directory holds any helper classes used to assist the view, model and controller classes.