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
|
include Admin::PersonalBooksHelper
|
||||||
|
|
||||||
def menu
|
def menu
|
||||||
|
@ -11,7 +11,7 @@ class Desktop::BooksController < DesktopAdminController
|
||||||
{
|
{
|
||||||
"title" => "Add/Edit",
|
"title" => "Add/Edit",
|
||||||
"layout" => "form",
|
"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
|
end
|
Loading…
Reference in New Issue