This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Routing Concerns is an attempt to DRY up your config/routes.rb. | |
# The basic idea is to define common sub-resources (like comments) | |
# as concerns and include them in other resources/routes. | |
# Here’s the obvious example: | |
concern :commentable do | |
resources :comments | |
end | |
concern :remarkable do |