Merge branch 'master' of github.com:Rulingcom/NCCU
This commit is contained in:
commit
92fc0c8c26
6 files changed
+9
-7
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user