s#main.span-16
%h1
Main Pages
%hr
%p
=link_to "Restaurants Page", root_url
%br
=link_to "Hotels Page", hotels_path
%br
=link_to "Bars Page", bars_path
%h1
Party Rooms
%hr
%p
=link_to "Party Room Listing", party_path
%br
- rest = Restaurant.joins(:party_rooms).where("assets.state = ?", 'published').first
=link_to "Restaurant Party Room Page", restaurant_party_rooms_path(rest)
%h1
Recipes
%hr
%p
=link_to "Recipes", recipes_path('food')
%br
- recipe = Recipe.where(:state => 'published').order("created_at DESC").first
=link_to "Recipe Page", recipe_permalink(recipe)
%h1
Articles
%hr
%p
=link_to "Articles", articles_path(1)
%br
- article = Site::Article.where(:state => 'published').order("created_at DESC").first
=link_to "Article Page", article_permalink(article)
%h1
Restaurant page
%hr
%p
- rest = Restaurant.where(:featured => true).where(:state => "published").order("created_at DESC").first
=link_to "Restaurant page", restaurant_profile_path(rest)
%br
=link_to "Restaurant Reviews", restaurant_reviews_path(rest)
%br
=link_to "Restaurant Directions", restaurant_direction_path(rest)
%h1
Search functionality
%hr
%p
=link_to "Search result page", search_path({:cuisines => ['Steak']})
#right.span-8.last
- layout 'site-map-sidebar', '#right', :width => 8