added routes for old danbooru

This commit is contained in:
albert
2011-11-11 15:56:52 -05:00
parent 935e746815
commit 44cf126d0f
3 changed files with 61 additions and 7 deletions

View File

@@ -8,10 +8,10 @@ class NotesController < ApplicationController
end
def index
if params[:group_by] == "post"
index_by_post
else
if params[:group_by] == "note"
index_by_note
else
index_by_post
end
end