todo_rails 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 795120a0f3b0de4a5857b384772eb83acfa88802
4
- data.tar.gz: b25a156507ff018d17f77cb58e886e8e9bf90c9c
3
+ metadata.gz: e68f2ed1e598cce6848ace9635863e11fa9b2069
4
+ data.tar.gz: 07f047a1268f7a2e6d7de0fb92c7b79326ccda31
5
5
  SHA512:
6
- metadata.gz: 5216e13c4975decfa53e9289b2d83d0acf077d0d008ded9825183112f9a6c796596778b265f3093fc5bbe1cfb0687c7f9c44e9d985cea9e76860f247a6b7945f
7
- data.tar.gz: f86a12d3b54ae7423ae1328620d18661398eb70a8fc19debd41a880386d6decde386fe62b4994b6579fd7bd98999d13d57aa8b61853ac1b1a6b45ab77361a7e5
6
+ metadata.gz: 8b04eb41e695d59d95afc3852a177205409060fb6bed1231ccfe347ccb42613470343320d61af62f5deae41666e5098c1f7c51980cd723ea4dedcbb6d84a176b
7
+ data.tar.gz: fbaa8842260019af9b77963c98dcab8ded72a92d7f65361b3ec0682a30997d79a100891727bf40aba75ca6b658c63f9130bc9ab573051ecbd1b0f42478292839
@@ -18,9 +18,9 @@ angular.module('todoRails.controllers').controller 'todoCtrl', [
18
18
 
19
19
  $scope.addTodo = ->
20
20
  todo =
21
- task:
22
- title: $scope.todoText
23
- completed: false
21
+
22
+ title: $scope.todoText
23
+ completed: false
24
24
  todos.post todo
25
25
  $scope.todoText = ''
26
26
  $scope.reload()
@@ -49,7 +49,7 @@ module TodoRails
49
49
 
50
50
  # Only allow a trusted parameter "white list" through.
51
51
  def task_params
52
- params.require(:task).permit(:title, :completed, :row_order, :priority, :comment)
52
+ params.permit(:title, :completed, :row_order, :priority, :comment)
53
53
  end
54
54
  end
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module TodoRails
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: todo_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - goooseman