Sha256: ac156e8107ac632e87b15f7c0eb402550e3e77200021b7dedac5127338e67840

Contents?: true

Size: 198 Bytes

Versions: 27

Compression:

Stored size: 198 Bytes

Contents

module Typus
  module Controller
    module Multisite

      def set_context
        @resource = admin_user.site.send(@object_name.pluralize)
      end
      private :set_context

    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
typus-3.1.10 lib/typus/controller/multisite.rb
typus-3.1.9 lib/typus/controller/multisite.rb
typus-3.1.8 lib/typus/controller/multisite.rb
typus-3.1.7 lib/typus/controller/multisite.rb
typus-3.1.6 lib/typus/controller/multisite.rb
typus-3.1.5 lib/typus/controller/multisite.rb
typus-3.1.4 lib/typus/controller/multisite.rb
typus-3.1.3 lib/typus/controller/multisite.rb
typus-3.1.2 lib/typus/controller/multisite.rb
typus-3.1.1 lib/typus/controller/multisite.rb
typus-3.1.0 lib/typus/controller/multisite.rb
typus-3.1.0.rc19 lib/typus/controller/multisite.rb
typus-3.1.0.rc18 lib/typus/controller/multisite.rb
typus-3.1.0.rc17 lib/typus/controller/multisite.rb
typus-3.1.0.rc16 lib/typus/controller/multisite.rb
typus-3.1.0.rc15 lib/typus/controller/multisite.rb
typus-3.1.0.rc14 lib/typus/controller/multisite.rb
typus-3.1.0.rc13 lib/typus/controller/multisite.rb
typus-3.1.0.rc12 lib/typus/controller/multisite.rb
typus-3.1.0.rc11 lib/typus/controller/multisite.rb