Skip to content
This repository
Browse code

FILE REORGANISATION: Edited to get basic functionality in place, incl…

…uding plugin migrations.

git-svn-id: svn+ssh://rubyforge.org/var/svn/goldberg/trunk/goldberg/templates/vendor/plugins/goldberg@67 2112df0d-361b-0410-855b-e9e795e2bf81
  • Loading branch information...
commit 7422eb8316e1ce6dfaee5df3a66af5c4147078ab 1 parent ec2aead
Dave Nelson authored
2  app/controllers/goldberg/auth_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class AuthController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -131,3 +132,4 @@ def self.clear_session(session)
131 132 end
132 133
133 134 end
  135 +end
5 app/controllers/goldberg/content_pages_controller.rb
... ... @@ -1,5 +1,7 @@
  1 +module Goldberg
1 2 class ContentPagesController < ApplicationController
2   -
  3 + self.template_root = File.join(File.dirname(__FILE__), '..', '..', 'views')
  4 +
3 5 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
4 6 verify :method => :post, :only => [ :destroy, :create, :update ],
5 7 :redirect_to => { :action => :list }
@@ -105,3 +107,4 @@ def foreign
105 107
106 108
107 109 end
  110 +end
2  app/controllers/goldberg/controller_actions_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class ControllerActionsController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -131,3 +132,4 @@ def class_actions(classname)
131 132 end
132 133
133 134 end
  135 +end
2  app/controllers/goldberg/markup_styles_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class MarkupStylesController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -51,3 +52,4 @@ def destroy
51 52 end
52 53
53 54 end
  55 +end
2  app/controllers/goldberg/menu_items_controller.rb
... ... @@ -1,6 +1,7 @@
1 1 require 'menu'
2 2
3 3
  4 +module Goldberg
4 5 class MenuItemsController < ApplicationController
5 6
6 7 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -183,3 +184,4 @@ def foreign
183 184 end
184 185
185 186 end
  187 +end
2  app/controllers/goldberg/permissions_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class PermissionsController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -55,3 +56,4 @@ def destroy
55 56 redirect_to :action => 'list'
56 57 end
57 58 end
  59 +end
2  app/controllers/goldberg/roles_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class RolesController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -80,3 +81,4 @@ def foreign
80 81 end
81 82
82 83 end
  84 +end
2  app/controllers/goldberg/roles_permissions_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class RolesPermissionsController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -60,3 +61,4 @@ def destroy
60 61 redirect_to :controller => 'roles', :action => 'show', :id => role
61 62 end
62 63 end
  64 +end
2  app/controllers/goldberg/site_controllers_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class SiteControllersController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -152,3 +153,4 @@ def controller_actions(controller_name)
152 153 end # def controller_actions
153 154
154 155 end # class
  156 +end
2  app/controllers/goldberg/system_settings_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class SystemSettingsController < ApplicationController
2 3 def index
3 4 list
@@ -71,3 +72,4 @@ def foreign
71 72 end
72 73
73 74 end
  75 +end
2  app/controllers/goldberg/users_controller.rb
... ... @@ -1,3 +1,4 @@
  1 +module Goldberg
1 2 class UsersController < ApplicationController
2 3
3 4 # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
@@ -89,3 +90,4 @@ def foreign
89 90 end
90 91
91 92 end
  93 +end

0 comments on commit 7422eb8

Please sign in to comment.
Something went wrong with that request. Please try again.