simple_workflow:添加绕路并返回到Ruby On Rails中先前工作流的方法

时间:2021-05-24 09:17:00
【文件属性】:
文件名称:simple_workflow:添加绕路并返回到Ruby On Rails中先前工作流的方法
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-24 09:17:00
Ruby simple_workflow 描述 对Rails的扩展,以允许使用绕道而行,返回简单的工作流浏览器导航。 特征 将您的“ link_to”行切换为“ detour_to”,并将您的控制器“ redirect_to”切换为“ back_or_redirect_to”,以允许用户从其来访者返回。 概要: 在视图中: detour_to controller: :my_models, action: :create back_or_link_to controller: :welcome, action: :index image_button_to controller: :my_models, action: :create link_to 'Link with custom origin', with_detour(destination, origin) 在控制器中: b
【文件预览】:
simple_workflow-master
----.gitignore(78B)
----simple_workflow.gemspec(1013B)
----gemfiles()
--------rails_5.2.gemfile(123B)
--------rails_4.2.gemfile(123B)
--------rails_5.1.gemfile(123B)
--------rails_6.0.gemfile(123B)
--------rails_5.0.gemfile(123B)
--------common.gemfile(239B)
----.travis.yml(434B)
----.rubocop.yml(2KB)
----History.rdoc(3KB)
----README.md(3KB)
----.rubocop_todo.yml(1KB)
----.project(380B)
----script()
--------destroy(413B)
--------console(487B)
--------generate(415B)
----lib()
--------simple_workflow.rb(394B)
--------simple_workflow()
----Gemfile(70B)
----Rakefile(946B)
----test()
--------middleware_test.rb(6KB)
--------controller_test.rb(1KB)
--------test_app.rb(428B)
--------helper_test.rb(4KB)
--------test_helper.rb(387B)

网友评论