Sha256: 469fc167ec9e9c89688070a19c4baea6daeccabd4b0744cc2d0c39a54387a205

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module My
  class SharedCollectionsController < MyController
    self.search_params_logic += [
      :show_only_shared_collections,
      :show_only_collections
    ]

    def index
      super
      @selected_tab = :shared_collections
    end

    protected

      def search_action_url(*args)
        sufia.dashboard_shared_collections_url(*args)
      end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sufia-6.7.0 app/controllers/my/shared_collections_controller.rb