fix desktop

This commit is contained in:
JiangRu 2015-01-14 11:57:27 +08:00
parent 7e9a0e001b
commit 543c383059
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
class Desktop::BooksController < DesktopAdminController
class Desktop::PersonalBooksController < DesktopAdminController
include Admin::PersonalBooksHelper
def menu
@ -11,7 +11,7 @@ class Desktop::BooksController < DesktopAdminController
{
"title" => "Add/Edit",
"layout" => "form",
"new_path" => "/#{I18n.locale.to_s}/admin/books/new?member_profile_id=#{user.member_profile_id.to_param}",
"new_path" => "/admin/members/#{user.member_profile.to_param}/books/new"
}
]
end