forked from saurabh/personal-book
fix desktop
This commit is contained in:
parent
7e9a0e001b
commit
543c383059
|
@ -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
|
Loading…
Reference in New Issue