Class: Pageflow::CnameThemingRequestScope
- Inherits:
-
Object
- Object
- Pageflow::CnameThemingRequestScope
- Defined in:
- app/models/pageflow/cname_theming_request_scope.rb
Instance Method Summary collapse
Instance Method Details
#call(themings, request) ⇒ Object
3 4 5 |
# File 'app/models/pageflow/cname_theming_request_scope.rb', line 3 def call(themings, request) themings.where(cname: request.host) end |