2015-09-08 09:49:20 -04:00
|
|
|
class Explore::SnippetsController < Explore::ApplicationController
|
|
|
|
def index
|
|
|
|
@snippets = SnippetsFinder.new.execute(current_user, filter: :all)
|
2016-03-19 17:37:54 -04:00
|
|
|
@snippets = @snippets.page(params[:page])
|
2015-09-08 09:49:20 -04:00
|
|
|
end
|
|
|
|
end
|