2015-09-25 12:07:36 +05:30
|
|
|
class Explore::SnippetsController < Explore::ApplicationController
|
|
|
|
def index
|
|
|
|
@snippets = SnippetsFinder.new.execute(current_user, filter: :all)
|
2016-06-02 11:05:42 +05:30
|
|
|
@snippets = @snippets.page(params[:page])
|
2015-09-25 12:07:36 +05:30
|
|
|
end
|
|
|
|
end
|