Changeset 213
- Timestamp:
- 08/03/08 23:08:42 (4 months ago)
- Files:
-
- nethorus/app/controllers/site_admin_controller.rb (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nethorus/app/controllers/site_admin_controller.rb
r168 r213 64 64 if @site.save 65 65 66 flash[:info] = "Created a new site record for <strong>#{@site. hostname}</strong>"66 flash[:info] = "Created a new site record for <strong>#{@site.description}</strong>" 67 67 redirect_to :action => 'index' 68 68 … … 71 71 # Trap the case where the site did not save properly 72 72 73 flash[:info] = "There was a problem saving the new site <strong>#{@site. hostname}</strong>"73 flash[:info] = "There was a problem saving the new site <strong>#{@site.description}</strong>" 74 74 render :action => 'edit' 75 75 … … 131 131 logger.debug "Site id=#{@site.id} changed - saving record" 132 132 @site.save 133 flash[:info] = "Updated <strong>#{@site. hostname}</strong>"133 flash[:info] = "Updated <strong>#{@site.description}</strong>" 134 134 135 135 else … … 174 174 if @site 175 175 @site.destroy 176 flash[:notice] = "Deleted site <strong>#{@site. hostname}</strong>"176 flash[:notice] = "Deleted site <strong>#{@site.description}</strong>" 177 177 end 178 178
