Put back impressionist where it was commented out
This commit is contained in:
1 parent
50b313976e
commit
6a94d4f550
4 files changed
+5
-5
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ class Panel::Announcement::FrontEnd::BulletinsController < OrbitWidgetController
|
||||
else
|
||||
@bulletin = Bulletin.all.available_for_lang(I18n.locale).can_display.where(_id: params[:id]).first
|
||||
unless @bulletin.disable?
|
||||
#impressionist(@bulletin)
|
||||
impressionist(@bulletin)
|
||||
get_categorys
|
||||
else
|
||||
render :nothing => true, :status => 403
|
||||
|
||||
Vendored
+1
-1
@@ -42,7 +42,7 @@ class Panel::News::FrontEnd::NewsBulletinsController < OrbitWidgetController
|
||||
else
|
||||
@news_bulletin = NewsBulletin.all.available_for_lang(I18n.locale).can_display.where(_id: params[:id]).first
|
||||
unless @news_bulletin.disable?
|
||||
# impressionist(@news_bulletin)
|
||||
impressionist(@news_bulletin)
|
||||
get_categorys
|
||||
else
|
||||
render :nothing => true, :status => 403
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ class Panel::PageContent::FrontEnd::PageContextsController < OrbitWidgetControll
|
||||
def index
|
||||
# @page_context = PageContext.where("page_id" => params[:page_id], :archived => false)
|
||||
@page_context = PageContext.first(conditions: { page_id: params[:page_id], :archived => false })
|
||||
#impressionist(@page_context)
|
||||
impressionist(@page_context)
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
|
||||
Reference in new issue
Block a user