Fix:
- page_part not including items_helper - categories for bulletins front-end
This commit is contained in:
parent
112f7000a0
commit
fb74d74c72
|
@ -5,6 +5,8 @@ class Admin::PagePartsController < ApplicationController
|
|||
before_filter :authenticate_user!
|
||||
before_filter :is_admin?
|
||||
before_filter :set_current_item
|
||||
|
||||
helper 'admin/items'
|
||||
|
||||
def show
|
||||
@part = PagePart.find(params[:id])
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
|
||||
<% @bulletins.each do |post| %>
|
||||
<tr>
|
||||
<td><%= post.bulletin_category.i18n_variable[I18n.locale] rescue nil %></td>
|
||||
<td><%= post.bulletin_category.title rescue nil %></td>
|
||||
<td><%= link_to post.title, panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %>
|
||||
<%#= link_to post.title, panel_announcement_back_end_bulletin_path(post) %>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue