New and Announcement search. Disabled impression.
This commit is contained in:
1 parent
033667f99b
commit
f9bdb4a327
39 files changed
+222
-1345
No files matched your search
@@ -19,7 +19,7 @@ class PagesController < ApplicationController
|
||||
#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)
|
||||
# impressionist(@item)
|
||||
case @item._type
|
||||
when 'Page'
|
||||
render_page
|
||||
|
||||
Reference in new issue
Block a user