giraffesoft-resource_controller 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml
CHANGED
data/lib/resource_controller.rb
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
require_dependency 'application_controller'
|
3
|
+
rescue LoadError => e
|
4
|
+
require_dependency 'application'
|
5
|
+
end
|
2
6
|
|
3
7
|
module ResourceController
|
4
8
|
ACTIONS = [:index, :show, :new_action, :create, :edit, :update, :destroy].freeze
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giraffesoft-resource_controller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Golick
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-02-
|
12
|
+
date: 2009-02-20 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -79,7 +79,7 @@ files:
|
|
79
79
|
- test/app
|
80
80
|
- test/app/controllers
|
81
81
|
- test/app/controllers/accounts_controller.rb
|
82
|
-
- test/app/controllers/
|
82
|
+
- test/app/controllers/application_controller.rb
|
83
83
|
- test/app/controllers/cms
|
84
84
|
- test/app/controllers/cms/options_controller.rb
|
85
85
|
- test/app/controllers/cms/personnel_controller.rb
|