mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
- Split up SnippetsController into separate dashboard and explore sections. - Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
7 lines
220 B
Ruby
7 lines
220 B
Ruby
class Explore::SnippetsController < Explore::ApplicationController
|
|
def index
|
|
@snippets = SnippetsFinder.new.execute(current_user, filter: :all)
|
|
@snippets = @snippets.page(params[:page]).per(PER_PAGE)
|
|
end
|
|
end
|