Created
September 5, 2013 08:03
-
-
Save BartlomiejSkwira/6447258 to your computer and use it in GitHub Desktop.
rails admin
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
| custom view | |
| #lib trzeba przeładowywać z każdą zmianą | |
| #dodatkowa akcja - maincontroller jest scope-em a nie akcja!! | |
| otworz main_controller , dodaj go do lib i w configu | |
| config.autoload_paths += ["#{Rails.root}/lib/rails_admin"] | |
| folder i bez / | |
| - chujnia ten sposob nie zadziała, rails admin przeładowuje na bieżąco main controller ipo oswiezeniu strony nie ma juz naszego nadpisanego kodu ://// | |
| id jest w paramsach albo w @abtract_model.first.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment