Skip to content

Commit

Permalink
Document directories define namespaces regardless of their content
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed May 12, 2022
1 parent f1c1b59 commit 30650ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ app/controllers/admin/users_controller.rb -> Admin::UsersController

`Admin` is autovivified as a module on demand, you do not need to define an `Admin` class or module in an `admin.rb` file explicitly.

Directories define namespaces regardless of their contents, even if they are empty. If they are not meant to represent namespaces, please tell the loader to [ignore](#ignoring-parts-of-the-project) them.

<a id="markdown-explicit-namespaces" name="explicit-namespaces"></a>
### Explicit namespaces

Expand Down

0 comments on commit 30650ed

Please sign in to comment.