Fix 'loading fail' in front-end for announcement
The show action was returning an array instead of a bulletin
This commit is contained in:
		
							parent
							
								
									499930a680
								
							
						
					
					
						commit
						1ebf460f7e
					
				|  | @ -23,8 +23,8 @@ class Panel::Announcement::FrontEnd::BulletinsController < OrbitWidgetController | |||
|   end | ||||
|    | ||||
|   def show | ||||
|     @bulletin = Bulletin.can_display.where.where(_id: params[:id]) | ||||
| 	get_categorys | ||||
|     @bulletin = Bulletin.can_display.where(_id: params[:id]).first | ||||
|     get_categorys | ||||
|   end | ||||
|    | ||||
|    | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue