gitlab-org--gitlab-foss/app/controllers/explore/snippets_controller.rb
2016-03-19 17:37:54 -04:00

6 lines
206 B
Ruby

class Explore::SnippetsController < Explore::ApplicationController
def index
@snippets = SnippetsFinder.new.execute(current_user, filter: :all)
@snippets = @snippets.page(params[:page])
end
end