Merge branch 'master' of https://github.com/Rulingcom/orbit into ldap
Conflicts: Gemfile Gemfile.lock app/views/admin/attributes/_app_selector.html.erb app/views/admin/module_apps/_app_selector.html.erb app/views/admin/pages/_app_selector.html.erb config/application.rb vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_categorys_controller.rb vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb vendor/built_in_modules/new_blog/app/controllers/panel/new_blog/widget/posts_controller.rb vendor/built_in_modules/page_content/app/controllers/panel/page_content/front_end/page_contexts_controller.rb vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/front_end/web_links_controller.rb vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb
This commit is contained in:
commit
f55b3a4374
279 files changed
+6029
-5296
No files matched your search
@@ -13,13 +13,14 @@ require 'sprockets/railtie'
|
||||
# or test environments.
|
||||
Bundler.require *Rails.groups(:assets) if defined?(Bundler)
|
||||
|
||||
module PrototypeR4
|
||||
module Orbit
|
||||
class Application < Rails::Application
|
||||
|
||||
# Add directories for plugins
|
||||
config.paths["vendor/plugins"] += %W(#{config.root}/vendor/built_in_modules)
|
||||
config.paths["vendor/plugins"] += %W(#{config.root}/vendor/downloaded_modules)
|
||||
config.paths.app.views << "app/views/devise"
|
||||
config.paths["app/views"] += %W(#{config.root}/app/views/devise)
|
||||
|
||||
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
# Application configuration should go into files in config/initializers
|
||||
@@ -30,6 +31,7 @@ module PrototypeR4
|
||||
config.autoload_paths += %W(#{config.root}/lib)
|
||||
config.autoload_paths += %W(#{config.root}/lib/parsers)
|
||||
config.autoload_paths += %W(#{config.root}/app/models/design)
|
||||
config.autoload_paths += %W(#{config.root}/app/models/meta)
|
||||
config.autoload_paths += %W(#{config.root}/app/models/purchase)
|
||||
config.autoload_paths += %W(#{config.root}/app/models/user)
|
||||
|
||||
|
||||
@@ -4,4 +4,4 @@ require 'yaml'
|
||||
YAML::ENGINE.yamler = 'syck'
|
||||
|
||||
# Initialize the rails application
|
||||
PrototypeR4::Application.initialize!
|
||||
Orbit::Application.initialize!
|
||||
@@ -1,4 +1,4 @@
|
||||
PrototypeR4::Application.configure do
|
||||
Orbit::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb
|
||||
|
||||
# In the development environment your application's code is reloaded on
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PrototypeR4::Application.configure do
|
||||
Orbit::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb
|
||||
|
||||
# The production environment is meant for finished, "live" apps.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PrototypeR4::Application.configure do
|
||||
Orbit::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb
|
||||
|
||||
# The test environment is used exclusively to run your application's
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
# If you change this key, all old signed cookies will become invalid!
|
||||
# Make sure the secret is at least 30 characters and all random,
|
||||
# no regular words or you'll be exposed to dictionary attacks.
|
||||
PrototypeR4::Application.config.secret_token = 'cbf6409102b30cb9f4da455ee08c3a7e9d8b2a3d32a0e5b59a354dad03f469d363a8127ef4b7bc3b1afa632d7cf947a1e59e09022d2d4cd8df1f4fa521d7ec07'
|
||||
Orbit::Application.config.secret_token = 'cbf6409102b30cb9f4da455ee08c3a7e9d8b2a3d32a0e5b59a354dad03f469d363a8127ef4b7bc3b1afa632d7cf947a1e59e09022d2d4cd8df1f4fa521d7ec07'
|
||||
@@ -4,4 +4,4 @@
|
||||
# If you change this key, all old signed cookies will become invalid!
|
||||
# Make sure the secret is at least 30 characters and all random,
|
||||
# no regular words or you'll be exposed to dictionary attacks.
|
||||
PrototypeR4::Application.config.secret_token = 'b8d78ecaf3086ebfc1ba42e912acba60d85cf3d789d933e117770e1a045a12911f121ff012a234982abb446c8b8c768052eea4bf8b2d5d336be821e2c25d8cdb'
|
||||
Orbit::Application.config.secret_token = 'b8d78ecaf3086ebfc1ba42e912acba60d85cf3d789d933e117770e1a045a12911f121ff012a234982abb446c8b8c768052eea4bf8b2d5d336be821e2c25d8cdb'
|
||||
@@ -1,8 +1,3 @@
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
PrototypeR4::Application.config.session_store :cookie_store, :key => '_prototype_R4_session'
|
||||
|
||||
# Use the database for sessions instead of the cookie-based default,
|
||||
# which shouldn't be used to store highly confidential information
|
||||
# (create the session table with "rails generate session_migration")
|
||||
# PrototypeR4::Application.config.session_store :active_record_store
|
||||
Orbit::Application.config.session_store :mongoid_store
|
||||
@@ -39,6 +39,14 @@ zh_tw:
|
||||
admin:
|
||||
action: 操作
|
||||
ad_banner: 廣告輪播
|
||||
ad:
|
||||
ab_fx: 轉場特效
|
||||
all_banners: 輪播清單
|
||||
new_banner: 新增輪播
|
||||
new_image: 新增橫幅
|
||||
title: 標題
|
||||
transition_sec: 轉場單位時間
|
||||
trans_unit_sec: 秒
|
||||
add: 新增
|
||||
add_item: 新增項目
|
||||
add_language: 新增語言
|
||||
|
||||
+9
-2
@@ -1,4 +1,4 @@
|
||||
PrototypeR4::Application.routes.draw do
|
||||
Orbit::Application.routes.draw do
|
||||
|
||||
devise_for :users,:controllers => {:sessions => 'sessions'}
|
||||
|
||||
@@ -24,7 +24,14 @@ PrototypeR4::Application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
resources :ad_banners
|
||||
|
||||
resources :ad_banners do
|
||||
collection do
|
||||
match 'new_ad_image' => 'ad_images#new',:as => :new_ad_image,:via => :get
|
||||
match 'new_ad_image' => 'ad_images#create',:as => :create_ad_image,:via => :post
|
||||
end
|
||||
resources :ad_images ,:except => [:show,:index]
|
||||
end
|
||||
resources :dashboards
|
||||
resources :designs do
|
||||
collection do
|
||||
|
||||
Reference in new issue
Block a user