debian-mirror-gitlab/app/controllers/explore/snippets_controller.rb
2018-12-05 23:21:45 +05:30

8 lines
223 B
Ruby

# frozen_string_literal: true
class Explore::SnippetsController < Explore::ApplicationController
def index
@snippets = SnippetsFinder.new(current_user).execute
@snippets = @snippets.page(params[:page])
end
end