a4c8be72a7
+ unread count
8 lines
145 B
Ruby
8 lines
145 B
Ruby
class ItemsController < ApplicationController
|
|
def show
|
|
@item = Item.find(params[:id])
|
|
@item.read
|
|
render :layout => false
|
|
end
|
|
end
|