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

Commit

Permalink
removed errant controllers from ansuz_user_manager plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Sep 25, 2008
1 parent 6358314 commit 59de9b5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 83 deletions.
2 changes: 1 addition & 1 deletion app/controllers/admin/page_plugins_controller.rb
Expand Up @@ -28,7 +28,7 @@ def edit
def create
if @page_plugin.save
flash[:notice] = "Successfully saved the Page Plugin"
redirect_to admin_page_path(@page)
redirect_to edit_admin_page_path(@page)
else
flash.now[:error] = "There was a problem saving the Page Plugin"
render :action => 'new'
Expand Down
11 changes: 8 additions & 3 deletions config/deploy.rb
Expand Up @@ -19,15 +19,20 @@
role :db, "192.168.1.88", :primary => true

task :sym_database_yml do
run "ln -s #{deploy_to}/current/config/database.yml.production #{deploy_to}/current/config/database.yml"
run "ln -s #{current_release}/config/database.yml.production #{current_release}/config/database.yml"
end
task :sym_files do
run "ln -s #{deploy_to}/shared/attached_files #{deploy_to}/current/public/attached_files"
run "ln -s #{deploy_to}/shared/attached_files #{current_release}/public/attached_files"
run "ln -s #{deploy_to}/shared/photo_album_photo_images #{current_release}/public/photo_album_photo_images"
end
task :run_plugin_migrations do
run "cd #{current_release}; export RAILS_ENV=production; rake db:migrate:plugins"
end

task :after_deploy do
after "deploy:finalize_update" do
sym_database_yml
sym_files
run_plugin_migrations
end

namespace :host do
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 59de9b5

Please sign in to comment.