6 lines
206 B
Ruby
6 lines
206 B
Ruby
class Explore::SnippetsController < Explore::ApplicationController
|
|
def index
|
|
@snippets = SnippetsFinder.new.execute(current_user, filter: :all)
|
|
@snippets = @snippets.page(params[:page])
|
|
end
|
|
end
|