noodall-ui 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,7 @@ module Noodall
2
2
  module Admin
3
3
  class NodesController < BaseController
4
4
  include Canable::Enforcers
5
- include SortableTable::App::Controllers::ApplicationController
6
-
7
- layout 'noodall_admin'
5
+
8
6
  before_filter :set_title, :enforce_editor_permission
9
7
  sortable_attributes :position, :admin_title, :title, :type, :updated_at
10
8
 
@@ -19,7 +19,7 @@ module Noodall::ComponentsHelper
19
19
 
20
20
  # pass a flag to the view to add an expanded html class
21
21
  component(node, slot_code, ( components[index + 1].nil? && index < (args.size - 1) ), additional_classes.join(' ')).to_s
22
- end.to_s.html_safe
22
+ end.join.html_safe
23
23
  end
24
24
 
25
25
  def component(node, slot_code, expand = false, additional_classes = '')
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module UI
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-ui
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steve England
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-04 00:00:00 +01:00
18
+ date: 2011-04-14 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency