forked from genki/background-fu
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintenance: small fixes in scaffolding, removed deprecations, update…
…d some urls
- Loading branch information
Showing
10 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<%= error_messages_for :job %> | ||
<% form_for(:job, :html => {:class => "job"}) do |f| %> | ||
<%= f.label :worker_class %><br /> | ||
<%= f.text_field :worker_class, :class => "worker-class" %><br /> | ||
<%= f.label :worker_method %><br /> | ||
<%= f.text_field :worker_method, :class => "worker-method" %><br /> | ||
<%= f.label :args, "Args - each line (including empty) is interpreted as a string argument" %><br /> | ||
<%= f.text_area :args %><br /> | ||
<%= f.submit "Enqueue", :class => "button" %> | ||
<% end %> |
2 changes: 2 additions & 0 deletions
2
generators/background/templates/scaffold/application_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class Admin::ApplicationController < ApplicationController | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<%= render :partial => "form", :locals => { :job => @job } %> | ||
<%= link_to "Back to Jobs", admin_jobs_path %><br /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module BackgroundFu | ||
|
||
VERSION = "1.0.6" | ||
VERSION = "1.0.7" | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters