diff --git a/lib/active_scaffold.rb b/lib/active_scaffold.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold.rb
+++ b/lib/active_scaffold.rb
@@ -286,7 +286,7 @@ module ActiveScaffold
       as_path = File.join(ActiveScaffold::Config::Core.plugin_directory, 'app', 'views')
       index = view_paths.find_index { |p| p.to_s == as_path }
       if index
-        view_paths.insert index, path
+        self.view_paths = view_paths[0..index-1] + Array(path) + view_paths[index..-1]
       else
         append_view_path path
       end
fix add_active_scaffold_path, it was changing view_paths for all controllers