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.0.rc10 lib/typus/controller/multisite.rb
typus-3.1.0.rc9 lib/typus/controller/multisite.rb
typus-3.1.0.rc8 lib/typus/controller/multisite.rb
typus-3.1.0.rc7 lib/typus/controller/multisite.rb
typus-3.1.0.rc6 lib/typus/controller/multisite.rb
typus-3.1.0.rc5 lib/typus/controller/multisite.rb
typus-3.1.0.rc4 lib/typus/controller/multisite.rb