mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
11 lines
281 B
Ruby
11 lines
281 B
Ruby
class Admin::DomainVersionsController < AdminController
|
|
def index
|
|
@q = DomainVersion.deleted.search(params[:q])
|
|
@domains = @q.result.page(params[:page])
|
|
end
|
|
|
|
def show
|
|
@versions = DomainVersion.where(item_id: params[:id])
|
|
@name = @versions.last.name
|
|
end
|
|
end
|