Merge branch 'master' of github.com:Rulingcom/NCCU

This commit is contained in:
Christophe Vilayphiou committed 2012-08-13 11:20:23 +08:00
commit 92fc0c8c26
6 files changed
+9 -7

No files matched your search

-1
View File
@@ -16,7 +16,6 @@ class PagesController < ApplicationController
def show
#begin
@item = Item.first(:conditions => {:path => params[:page_name]})
if @item && @item.is_published #&& (@item.enabled_for.nil? ? true : @item.enabled_for.include?(I18n.locale.to_s))
impressionist(@item)