caboose-cms 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWE5ZmYyYjlkZmJlNjI4NzYxMmFiODUyZWNjYWUyYmI3NTg1MDI4Yw==
4
+ ZTc1NzBhYTU1YjlmNzA1YzExZWUwNzkzZThjNDQxNGQ5ODhjN2VjOA==
5
5
  data.tar.gz: !binary |-
6
- Y2UzN2VjMDMxZTg1ZjQ1N2I3YzhhNjg4NDBhYWI5NmVmMGUxNmI1ZQ==
6
+ YWZlMGQ1ZmZjZWE4OTdhMWQxNzEzMDJhNjI3MDZlY2ZhMzY0ZjQzNg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTIwYmE3NmU1ZDA4NDkyODUwMTM3OTNlZWUzMDIwYTRkODE3ZWM4NDJlZGI0
10
- YzJlOWQzZDVlNjk0MTM5ZDAyZGE1ZDgwYjIwM2NmN2U0ZmNjYjk1ODZlNGYy
11
- NDY1NGQ0OGY5OGM4N2VkNzVmM2VlZWJhYjExNjJmYzA3NjE2OTQ=
9
+ OTJlNjk2ZTZjOWJjZmEwZTQ4ZGM2NjUwYzhjNDExYmM0ZmM0ZGIzOTEwZjc2
10
+ ODIxMjY1OTMyZTcyYTM3NzgxNzAxMzQ3MDAwYWQ4NzVhMjg3MTc2ZmVhYjNl
11
+ MDVjZmZlNGM3MjIxYjlkNzQzMGRhZDZmZGYyN2EzYTY3OWUzZmQ=
12
12
  data.tar.gz: !binary |-
13
- NjJiOGMyZTIxYjI5MDY2MmQyNjVlOGZlOTk5MjYwY2Y4Y2UwNjY2YzYwNTA2
14
- YTYyMDc3NDUyNzRmZjcwZGU0MGJiZjdhMmI0MmU3NDlmMzE1NDdjZDdjYjk2
15
- NjJjYmE0MzBlM2FmYjNjOTRkMzU2NzcwYWQxZmU1ZTJhNmRmZjI=
13
+ NmYzZDk0YWEzNTJiMzMzNmExNTI4MDQ0MWYzNDA1NWU2MjdlZDgwNDJhNzhh
14
+ ZmJmNDcxYzc0MDhkZmJhODM2ZjYxMDQ2ZDk3YzkwNzY4MDU3YTcyNTU2MWMy
15
+ MzllZmU2NmE4NjQ1YzUzMDA5ZjhjZGY5Yzc1YjFhY2E3Njk5NDE=
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
@@ -239,7 +239,6 @@ files:
239
239
  - app/controllers/caboose/application_controller.rb
240
240
  - app/controllers/caboose/block_types_controller.rb
241
241
  - app/controllers/caboose/blocks_controller.rb
242
- - app/controllers/caboose/edit_controller.rb
243
242
  - app/controllers/caboose/login_controller.rb
244
243
  - app/controllers/caboose/logout_controller.rb
245
244
  - app/controllers/caboose/modal_controller.rb
@@ -1,33 +0,0 @@
1
-
2
- module Caboose
3
- class EditController < ApplicationController
4
-
5
- helper :application
6
-
7
- # GET /edit/.*
8
- def index
9
- return unless user_is_allowed('pages', 'add')
10
-
11
- # Find the page with an exact URI match
12
- @page = Page.page_with_uri(request.fullpath.gsub('/edit'), false)
13
-
14
- @user = logged_in_user
15
- if !user.is_allowed(@page, 'view')
16
- if user.id == User::LOGGED_OUT_USER_ID
17
- redirect_to "/modal/login?return_url=" + URI.encode(request.fullpath)
18
- return
19
- else
20
- @page.title = 'Access Denied'
21
- end
22
- end
23
-
24
- @editmode = !params['edit'].nil? && user.is_allowed('pages', 'edit') ? true : false
25
- @crumb_trail = Caboose::Page.crumb_trail(@page)
26
- @subnav = Caboose::Page.subnav(@page, session['use_redirect_urls'], @user)
27
-
28
- #@subnav.links = @tasks.collect {|href, task| {'href' => href, 'text' => task, 'is_current' => uri == href}}
29
- render :file ':layout => 'caboose/admin'
30
- end
31
-
32
- end
33
- end