mirror of
https://github.com/plashchynski/crono.git
synced 2026-11-29 11:32:37 +01:00
Use Rails plugin generator and adapt
This commit is contained in:
1 parent
9b9193e1c8
commit
d53520bbf0
22 files changed
+385
-106
No files matched your search
@@ -0,0 +1,5 @@
|
||||
module Crono
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery with: :exception
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
module Crono
|
||||
class JobsController < ApplicationController
|
||||
def index
|
||||
@jobs = Crono::CronoJob.all
|
||||
end
|
||||
|
||||
def show
|
||||
@job = Crono::CronoJob.find(params[:id])
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user