Changes for i18n yml
This commit is contained in:
1 parent
a04e1fd10b
commit
bdd5a1a047
170 files changed
+1213
-3715
No files matched your search
@@ -4,7 +4,6 @@ class Admin::ItemsController < ApplicationController
|
||||
|
||||
before_filter :authenticate_user!
|
||||
before_filter :find_parent_item
|
||||
before_filter :find_snippets, :only => :index
|
||||
before_filter :is_admin?
|
||||
before_filter :set_current_item
|
||||
|
||||
@@ -22,10 +21,4 @@ class Admin::ItemsController < ApplicationController
|
||||
render :nothing => true
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def find_snippets
|
||||
@snippets = Snippet.where( { :parent_id => @parent_item.id } ) rescue nil
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user