Skip to content

Commit

Permalink
prepare for production/staging git data, and a bugfix for predicate c…
Browse files Browse the repository at this point in the history
…reation
  • Loading branch information
Josh Gum committed May 19, 2016
1 parent 08d17da commit ed88016
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/injectors/predicate_injector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def decorators
DecoratorList.new(
SetsAttributes,
SetsModified,
SetsIssued
SetsIssued,
DecoratorWithArguments.new(TermWithoutChildren)
)
end
end
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,7 @@

# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

#Location of local git repo
config.rugged_repo = "#{ENV["CVM_OPAQUENAMESPACE_GIT_REPO"] || "git_dev"}"
end
3 changes: 3 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,7 @@

# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

#Location of local git repo
config.rugged_repo = "#{ENV["CVM_OPAQUENAMESPACE_GIT_REPO"] || "git_dev"}"
end

0 comments on commit ed88016

Please sign in to comment.