- page_part not including items_helper
  - categories for bulletins front-end
This commit is contained in:
chris 2012-11-15 18:01:49 +08:00
parent 112f7000a0
commit fb74d74c72
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ class Admin::PagePartsController < ApplicationController
before_filter :is_admin?
before_filter :set_current_item
helper 'admin/items'
def show
@part = PagePart.find(params[:id])
respond_to do |format|

View File

@ -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>