2018-12-05 23:21:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-09-25 12:07:36 +05:30
|
|
|
class Explore::SnippetsController < Explore::ApplicationController
|
|
|
|
def index
|
2017-08-17 22:00:37 +05:30
|
|
|
@snippets = SnippetsFinder.new(current_user).execute
|
2016-06-02 11:05:42 +05:30
|
|
|
@snippets = @snippets.page(params[:page])
|
2015-09-25 12:07:36 +05:30
|
|
|
end
|
|
|
|
end
|