fix moduleapp name and frontend display language

This commit is contained in:
Saurabh Bhatia 2014-07-09 15:44:29 +08:00
parent d7ac095b91
commit 77fe706f51
2 changed files with 2 additions and 2 deletions

View File

@ -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 ,

View File

@ -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"