lib/fiona7/mode_switch/views.rb in infopark_fiona7-1.1.0.0.4 vs lib/fiona7/mode_switch/views.rb in infopark_fiona7-1.1.0.0.5
- old
+ new
@@ -11,14 +11,14 @@
self.reorder_view_paths(self.fiona_connector_path, self.scrivito_sdk_path)
end
protected
def scrivito_sdk_path
- Gem.loaded_specs['scrivito_sdk'].full_gem_path
+ Gem.loaded_specs['scrivito_sdk'].full_name
end
def fiona_connector_path
- Gem.loaded_specs['infopark_fiona_connector'].full_gem_path
+ Gem.loaded_specs['infopark_fiona_connector'].full_name
end
def reorder_view_paths(first, second)
view_paths = ActionController::Base.view_paths
paths = view_paths.map(&:to_s)