Sha256: a210ae840fdb2a961f0605ca832ac533e8ea10ee5c00dc336e20a1a77ff74d24

Contents?: true

Size: 337 Bytes

Versions: 40

Compression:

Stored size: 337 Bytes

Contents

module Devise
  module Controllers
    module ScopedViews
      extend ActiveSupport::Concern

      module ClassMethods
        def scoped_views?
          defined?(@scoped_views) ? @scoped_views : Devise.scoped_views
        end

        def scoped_views=(value)
          @scoped_views = value
        end
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 8 rubygems

Version Path
devise-4.3.0 lib/devise/controllers/scoped_views.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/devise-4.2.1/lib/devise/controllers/scoped_views.rb
devise-4.2.1 lib/devise/controllers/scoped_views.rb
devise-4.2.0 lib/devise/controllers/scoped_views.rb
devise-3.5.10 lib/devise/controllers/scoped_views.rb
devise-4.0.3 lib/devise/controllers/scoped_views.rb
devise-4.1.1 lib/devise/controllers/scoped_views.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/devise-4.1.0/lib/devise/controllers/scoped_views.rb
devise-4.1.0 lib/devise/controllers/scoped_views.rb
devise-3.5.9 lib/devise/controllers/scoped_views.rb
devise-4.0.2 lib/devise/controllers/scoped_views.rb
devise-4.0.1 lib/devise/controllers/scoped_views.rb
devise-3.5.8 lib/devise/controllers/scoped_views.rb
devise-3.5.7 lib/devise/controllers/scoped_views.rb
devise-4.0.0 lib/devise/controllers/scoped_views.rb
devise-4.0.0.rc2 lib/devise/controllers/scoped_views.rb
devise-4.0.0.rc1 lib/devise/controllers/scoped_views.rb
devise-3.5.6 lib/devise/controllers/scoped_views.rb
devise-3.5.5 lib/devise/controllers/scoped_views.rb
devise-3.5.4 lib/devise/controllers/scoped_views.rb