Skip to content

Commit

Permalink
forgot 1 thing
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.typosphere.org/typo/branches/rails_2@1573 820eb932-12ee-0310-9ca8-eeb645f39767
  • Loading branch information
Frédéric de Villamil committed Dec 16, 2007
1 parent 1abb7dd commit 6d474bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/admin/themes_helper.rb
Expand Up @@ -4,7 +4,7 @@ def fetch_stylesheets
list = '<ul>'
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 << '</ul>'
Expand All @@ -15,7 +15,7 @@ def fetch_layouts
list = '<ul>'
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 << '</ul>'
Expand Down

0 comments on commit 6d474bf

Please sign in to comment.