Sha256: 19f4de3a3d84a9ed021db748b30360cfe5880ef458a654ff1c6207a16b350fd0

Contents?: true

Size: 366 Bytes

Versions: 6

Compression:

Stored size: 366 Bytes

Contents

module My
  class CollectionsController < MyController
    self.search_params_logic += [
      :show_only_resources_deposited_by_current_user,
      :show_only_collections
    ]

    def index
      super
      @selected_tab = :collections
    end

    protected

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sufia-6.7.0 app/controllers/my/collections_controller.rb
sufia-6.6.1 app/controllers/my/collections_controller.rb
sufia-6.6.0 app/controllers/my/collections_controller.rb
sufia-6.5.0 app/controllers/my/collections_controller.rb
sufia-6.4.0 app/controllers/my/collections_controller.rb
sufia-6.3.0 app/controllers/my/collections_controller.rb