Import Data, Sync Data
Conflicts: vendor/built_in_modules/personal_book/app/models/writing_book.rb vendor/built_in_modules/personal_conference/app/models/writing_conference.rb vendor/built_in_modules/personal_journal/app/models/writing_journal.rb
This commit is contained in:
1 parent
f85f6df8b1
commit
d47b300dcf
27 files changed
+637
-8
No files matched your search
+3
-3
@@ -8,11 +8,11 @@ defaults: &defaults
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
database: ntu_cph_orbit
|
||||
database: test_site
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
database: ntu_cph_orbit
|
||||
database: test_site
|
||||
|
||||
# set these environment variables on your prod server
|
||||
production:
|
||||
@@ -22,4 +22,4 @@ production:
|
||||
# password: <%= ENV['MONGOID_PASSWORD'] %>
|
||||
# database: <%= ENV['MONGOID_DATABASE'] %>
|
||||
<<: *defaults
|
||||
database: ntu_cph_orbit
|
||||
database: test_site
|
||||
@@ -201,6 +201,16 @@ Orbit::Application.routes.draw do
|
||||
get 'preference'
|
||||
end
|
||||
|
||||
get "import_data/get_teacher_data"
|
||||
get "import_data/get_book_data"
|
||||
get "import_data/get_conference_data"
|
||||
get "import_data/get_journal_paper_data"
|
||||
get "import_data/get_announcement_data"
|
||||
get "import_data/get_page_data"
|
||||
get "import_data/sync_book_data"
|
||||
get "import_data/sync_journal_paper_data"
|
||||
get "import_data/sync_conference_data"
|
||||
|
||||
resources :tags do
|
||||
collection do
|
||||
post 'add_to_default'
|
||||
|
||||
Reference in new issue
Block a user