49 50 51
# File 'app/models/sibu/site.rb', line 49 def page_by_id(page_id) pages.where(id: page_id).select(:id, :path).first end