casey_jones 0.0.102 → 0.0.103

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,8 +23,8 @@ class LoadbehindGenerator < Rails::Generators::NamedBase
23
23
  template "view.js.haml", "#{view_dir}/update.js.haml"
24
24
 
25
25
  ["edit", "new"].each do |act|
26
- self.action_name = act
27
- template "edit.js.haml", "#{view_dir}/#{action_name}.js.haml"
26
+ self.action_name = 'form'
27
+ template "edit.js.haml", "#{view_dir}/#{act}.js.haml"
28
28
  end
29
29
 
30
30
  ["destroy.js", "_errors.html"].each do |file|
@@ -1,4 +1,5 @@
1
1
  $('##{@container}').html(#{raw render_js('<%= action_name%>')});
2
2
  - unless flash[:notice].empty?
3
3
  = growl("Success", flash[:notice])
4
+ - flash.discard
4
5
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: casey_jones
3
3
  version: !ruby/object:Gem::Version
4
- hash: 211
4
+ hash: 209
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 102
10
- version: 0.0.102
9
+ - 103
10
+ version: 0.0.103
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tyler Gannon