debian-mirror-gitlab/app/controllers/explore/snippets_controller.rb
2017-08-17 22:00:37 +05:30

6 lines
192 B
Ruby

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