OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t#32402:add file prof
[pettanr/pettanr.git]
/
app
/
controllers
/
sheets_controller.rb
diff --git
a/app/controllers/sheets_controller.rb
b/app/controllers/sheets_controller.rb
index
7c63a0b
..
b7cf892
100644
(file)
--- a/
app/controllers/sheets_controller.rb
+++ b/
app/controllers/sheets_controller.rb
@@
-35,6
+35,7
@@
class SheetsController < ApplicationController
@fresh_stories = StorySheet.mylist(@author, 1, 5).map {|ss| ss.story}
end
}
+ format.prof { render :template => 'top/prof', :layout => true }
format.json { render json: @sheet.to_json(Sheet.show_json_opt) }
format.atom
format.rss