Created
July 4, 2018 11:22
-
-
Save HooFoo/9532c7f92bc891f7c282076ec3eb24c9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ActiveAdmin.register_page "OrderAssignation" do | |
| menu false | |
| controller do | |
| def index | |
| params[:order] = Order.find(params[:order_id]) | |
| end | |
| end | |
| content title: proc{ I18n.t("admin.delivery.assign") } do | |
| columns do | |
| column do | |
| render 'admin/delivery/order_assignation_form' | |
| end | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment