refinerycms-resources 0.9.9.5 → 0.9.9.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,10 @@
1
1
  module Admin
2
2
  class ResourcesController < Admin::BaseController
3
3
 
4
- crudify :resource, :order => "updated_at DESC"
4
+ crudify :resource,
5
+ :order => "updated_at DESC",
6
+ :xhr_paging => true
7
+
5
8
  before_filter :init_dialog
6
9
 
7
10
  def new
@@ -36,13 +39,6 @@ module Admin
36
39
  end
37
40
  end
38
41
 
39
- def index
40
- search_all_resources if searching?
41
- paginate_all_resources
42
-
43
- render :partial => 'resources' if request.xhr?
44
- end
45
-
46
42
  def insert
47
43
  self.new if @resource.nil?
48
44
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-resources}
5
- s.version = %q{0.9.9.5}
5
+ s.version = %q{0.9.9.7}
6
6
  s.summary = %q{Resources engine for Refinery CMS}
7
7
  s.description = %q{Handles all file upload and processing functionality in Refinery CMS.}
8
- s.date = %q{2011-03-08}
8
+ s.date = %q{2011-03-10}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
11
11
  s.rubyforge_project = %q{refinerycms}
@@ -84,7 +84,7 @@ Gem::Specification.new do |s|
84
84
  'spec/uploads/refinery_is_awesome.txt'
85
85
  ]
86
86
 
87
- s.add_dependency 'refinerycms-core', '~> 0.9.9.5'
87
+ s.add_dependency 'refinerycms-core', '~> 0.9.9.7'
88
88
  s.add_dependency 'dragonfly', '~> 0.8.2'
89
89
  s.add_dependency 'rack-cache', '>= 0.5.3'
90
90
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-resources
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.5
5
+ version: 0.9.9.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-03-08 00:00:00 +13:00
16
+ date: 2011-03-10 00:00:00 +13:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: 0.9.9.5
27
+ version: 0.9.9.7
28
28
  type: :runtime
29
29
  version_requirements: *id001
30
30
  - !ruby/object:Gem::Dependency
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  requirements: []
130
130
 
131
131
  rubyforge_project: refinerycms
132
- rubygems_version: 1.6.0
132
+ rubygems_version: 1.6.1
133
133
  signing_key:
134
134
  specification_version: 3
135
135
  summary: Resources engine for Refinery CMS