You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2013/03/01 14:32:22 UTC
[PATCH core 2/9] CIMI: Fix 'views' folder location
From: Michal Fojtik <mf...@redhat.com>
In CIMI we don't have views except the error ones.
Signed-off-by: Michal fojtik <mf...@redhat.com>
---
server/lib/cimi/collections/base.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/lib/cimi/collections/base.rb b/server/lib/cimi/collections/base.rb
index 3c319d6..0d1d0ee 100644
--- a/server/lib/cimi/collections/base.rb
+++ b/server/lib/cimi/collections/base.rb
@@ -44,8 +44,8 @@ module CIMI::Collections
set :root_path, config.root_url
set :version, config.version
set :root, File.join(File.dirname(__FILE__), '..', '..', '..')
- set :views, root + '/views/cimi'
- set :public_folder, root + '/public'
+ set :views, File.join(root, 'views')
+ set :public_folder, File.join(root, 'public')
set :documentation_class, CIMI
set :haml, :format => :xhtml
--
1.8.1.2