diff --git a/app/helpers/admin/themes_helper.rb b/app/helpers/admin/themes_helper.rb
index a8bac8ea90..c1c95796df 100644
--- a/app/helpers/admin/themes_helper.rb
+++ b/app/helpers/admin/themes_helper.rb
@@ -4,7 +4,7 @@ def fetch_stylesheets
list = '
'
Find.find(this_blog.current_theme.path + "/stylesheets") do |path|
if path =~ /css$/
- list << content_tag(:li, link_to(File.basename(path), {:controller => 'themes', :action => 'edit', :type => 'stylesheet', :file => File.basename(path)}))
+ list << content_tag(:li, link_to(File.basename(path), {:controller => 'themes', :action => 'editor', :type => 'stylesheet', :file => File.basename(path)}))
end
end
list << '
'
@@ -15,7 +15,7 @@ def fetch_layouts
list = ''
Find.find(this_blog.current_theme.path + "/layouts") do |path|
if path =~ /rhtml$|erb$/
- list << content_tag(:li, link_to(File.basename(path), {:controller => 'themes', :action => 'edit', :type => 'layout', :file => File.basename(path)}))
+ list << content_tag(:li, link_to(File.basename(path), {:controller => 'themes', :action => 'editor', :type => 'layout', :file => File.basename(path)}))
end
end
list << '
'