Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 232 Bytes
module RokCms
class PageDrop < RokBase::BaseDrop
def initialize(page)
@object = page
end
def title
@object.title
end
def url
# TODO: build this properly
@object.slug
end
end
end