fix moduleapp name and frontend display language
This commit is contained in:
parent
d7ac095b91
commit
77fe706f51
|
@ -27,7 +27,7 @@ class BooksController < ApplicationController
|
|||
"year" => book.year,
|
||||
"authors" => book.authors,
|
||||
"isbn" => book.isbn,
|
||||
"language" => t(book.language),
|
||||
"language" => book.language,
|
||||
"pages" => book.pages,
|
||||
"keywords" => book.keywords,
|
||||
"publication_date" => publication_date ,
|
||||
|
|
|
@ -4,7 +4,7 @@ module PersonalBook
|
|||
OrbitApp.registration "Book",:type=> 'ModuleApp' do
|
||||
module_label 'module_name.book'
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
personal_plugin :enable => true, :sort_number => '25', :app_name=>"Book", :intro_app_name=>"BookIntro",:path=>"/plugin/book/profile",:front_path=>"/profile",:admin_path=>"/admin/books",:i18n=>'module_name.book',:module_app_name=>'PersonalBook'
|
||||
personal_plugin :enable => true, :sort_number => '25', :app_name=>"Book", :intro_app_name=>"BookIntro",:path=>"/plugin/book/profile",:front_path=>"/profile",:admin_path=>"/admin/books",:i18n=>'module_name.book',:module_app_name=>'Book'
|
||||
|
||||
version "0.1"
|
||||
organization "Rulingcom"
|
||||
|
|
Loading…
Reference in New Issue