VietTH: Feature login social facebook, twitter, google plus
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
-
32 32 end 33 33 end 34 34 35 def search 36 query = params[:query].present? ? {title: params[:query]} : '*' 37 @products = Product.search(query, page: params[:page]) 38 add_breadcrumb('Search result') 39 end 40 41 35 def meta_attributes 42 36 return if @product.blank? 43 37 44 38 @meta_attributes ||= { -
Developer
nen tao 1 helper de co the dung lai, share tren social co nhung tieu chuan ve limit text cho title, desc, va kich thuoc cua image.
-
Master
helper dung cho view thi gem meta-tags da lam roi. code tren chi khai bao gia tri meta va application controller chiu trach nhiem set gia tri nay cho meta-tags
-