Flowdock
method

concerns

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: Concerns
concerns(*args) public

Use the named concerns

resources :posts do
  concerns :commentable
end

Concerns also work in any routes helper that you want to use:

namespace :posts do
  concerns :commentable
end
Show source
Register or log in to add new notes.