Module: Vhost::PageExtensions
- Defined in:
- lib/globalize2/compatibility/vhost/page_extensions.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 |
# File 'lib/globalize2/compatibility/vhost/page_extensions.rb', line 3 def self.included(base) base.validate.delete_if { |v| (v.[:scope].is_a?(Array)) ? v.[:scope].include?("site_id") : false } end |