Shop name in navbar,linke to shop info

This commit is contained in:
San Wai Lwin
2018-02-05 18:11:45 +06:30
parent 2821f4bb1c
commit 3f247f731e
64 changed files with 400 additions and 55 deletions

View File

@@ -57,4 +57,10 @@ class Origami::OtherChargesController < BaseOrigamiController
dining = {:table_id => table_id, :table_type => table.type }
render :json => dining.to_json
end
#Shop Name in Navbor
helper_method :shop_detail
def shop_detail
@shop = Shop.first
end
end