Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Commit

Permalink
Make compatible with 0.6.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
seancribbs committed Jun 20, 2008
1 parent 374285d commit b0563cf
Show file tree
Hide file tree
Showing 114 changed files with 1 addition and 9,219 deletions.
12 changes: 1 addition & 11 deletions lib/multi_site/page_controller_extensions.rb
Expand Up @@ -4,7 +4,7 @@ def self.included(base)
alias_method_chain :index, :root
alias_method_chain :clear_model_cache, :site
alias_method_chain :continue_url, :site
%w{remove clear_cache}.each do |m|
%w{remove}.each do |m|
alias_method_chain m.to_sym, :back
end
}
Expand Down Expand Up @@ -41,16 +41,6 @@ def remove_with_back
session[:came_from] = request.env["HTTP_REFERER"]
end
end

def clear_cache_with_back
if request.post?
@cache.clear
announce_cache_cleared
redirect_to :back
else
render :text => 'Do not access this URL directly.'
end
end

def clear_model_cache_with_site
Page.current_site ||= @site || @page.root.site
Expand Down
20 changes: 0 additions & 20 deletions vendor/plugins/haml/MIT-LICENSE

This file was deleted.

229 changes: 0 additions & 229 deletions vendor/plugins/haml/README

This file was deleted.

0 comments on commit b0563cf

Please sign in to comment.