lib/fiona7/mode_switch/views.rb in infopark_fiona7-0.71.1.12 vs lib/fiona7/mode_switch/views.rb in infopark_fiona7-1.1.0.0.0
- 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_name
+ Gem.loaded_specs['scrivito_sdk'].full_gem_path
end
def fiona_connector_path
- Gem.loaded_specs['infopark_fiona_connector'].full_name
+ Gem.loaded_specs['infopark_fiona_connector'].full_gem_path
end
def reorder_view_paths(first, second)
view_paths = ActionController::Base.view_paths
paths = view_paths.map(&:to_s)