Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
94f7bef2
Commit
94f7bef2
authored
Dec 09, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ticket/master/298-separate-plugin-path'
parents
ba0ded88
13250b72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
environment.rb
config/environment.rb
+3
-0
README
vendor/chiliproject_plugins/README
+1
-0
No files found.
config/environment.rb
View file @
94f7bef2
...
@@ -69,6 +69,9 @@ Rails::Initializer.run do |config|
...
@@ -69,6 +69,9 @@ Rails::Initializer.run do |config|
# It will automatically turn deliveries on
# It will automatically turn deliveries on
config
.
action_mailer
.
perform_deliveries
=
false
config
.
action_mailer
.
perform_deliveries
=
false
# Insert vendor/chiliproject_plugins at the top of the plugin load paths
config
.
plugin_paths
.
insert
(
0
,
File
.
join
(
Rails
.
root
,
"vendor"
,
"chiliproject_plugins"
))
# Use redmine's custom plugin locater
# Use redmine's custom plugin locater
require
File
.
join
(
RAILS_ROOT
,
"lib/redmine_plugin_locator"
)
require
File
.
join
(
RAILS_ROOT
,
"lib/redmine_plugin_locator"
)
config
.
plugin_locators
<<
RedminePluginLocator
config
.
plugin_locators
<<
RedminePluginLocator
...
...
vendor/chiliproject_plugins/README
0 → 100644
View file @
94f7bef2
Install ChiliProject plugins here and they will be automatically loaded.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment