2018-09-23 15:44:14 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-09-08 09:49:20 -04:00
|
|
|
class Explore::SnippetsController < Explore::ApplicationController
|
|
|
|
def index
|
2017-04-28 18:06:27 -04:00
|
|
|
@snippets = SnippetsFinder.new(current_user).execute
|
2016-03-19 17:37:54 -04:00
|
|
|
@snippets = @snippets.page(params[:page])
|
2015-09-08 09:49:20 -04:00
|
|
|
end
|
|
|
|
end
|