blob: 8dd91264451ae6619fd1eac3fb0f33dc6cabbfc0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
class Dashboard::SnippetsController < Dashboard::ApplicationController
def index
@snippets = SnippetsFinder.new(
current_user,
author: current_user,
scope: params[:scope]
).execute
@snippets = @snippets.page(params[:page])
end
end
|