public
Description: Uber lightweight Merb blogging engine. Make sure you check out the feather-plugins repo as well!
Clone URL: git://github.com/mleung/feather.git
Search Repo:
Click here to lend your support to: feather and make a donation at www.pledgie.com !
Changed destroy! to destroy to be compatible with DM 0.9.1
mleung (author)
Wed Jun 11 11:06:50 -0700 2008
commit  8ed62ce2ea67583e90ba0eb1fbd2d478b712b6cb
tree    bce8c9cd96f880769a5f462909f8c8474d0ce698
parent  1c761789c45b9c3ee63c6998df921b1a899e77d7
...
54
55
56
57
 
58
59
60
...
54
55
56
 
57
58
59
60
0
@@ -54,7 +54,7 @@ module Admin
0
     end
0
     
0
     def delete
0
- @article.destroy!
0
+ @article.destroy
0
       # Expire the index and article to reflect the removal of the article
0
       expire_index
0
       expire_article(@article)
...
39
40
41
42
 
43
44
45
...
39
40
41
 
42
43
44
45
0
@@ -39,7 +39,7 @@ module Admin
0
     end
0
 
0
     def delete
0
- @user.destroy!
0
+ @user.destroy
0
       redirect url(:admin_users)
0
     end
0
 
...
22
23
24
25
 
26
27
28
...
22
23
24
 
25
26
27
28
0
@@ -22,7 +22,7 @@ class Article
0
   
0
   # Core filters
0
   before :update, :set_published_permalink
0
- after :update, :set_create_activity
0
+ after :create, :set_create_activity
0
   after :update, :set_update_activity
0
   
0
   # Event hooks for plugins

Comments

    No one has commented yet.