formaweb / formadmin

Modern and responsive theme for Active Admin used by Formaweb.
https://rubygems.org/gems/formadmin
MIT License
82 stars 23 forks source link

No route matches [GET] "/active_admin/orderable.png" #25

Open oicitrapdraz opened 4 years ago

oicitrapdraz commented 4 years ago

Is someone else getting ActionController::RoutingError (No route matches [GET] "/active_admin/orderable.png") at the index views?

jordancrawfordnz commented 4 years ago

For a temporary fix until #26 is merged, I've done the following in my active_admin.scss file - this is purely based on the change made in #26.

table.index_table thead th.sortable a {
  // Resolve https://github.com/formaweb/formadmin/issues/25 until a fix is merged.
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAABGCAYAAAAAVo4aAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpi3LhlOwMU1AExGxDXwARYoHQLEFdD2cxAXAliMKFJgEAFEHfBJEHGMKLhMpgkTsAEdch/NNwCk2xCdiEQtML4LEgCf6EubUX3Cgh0oNvJ+P//f7wOGpUclRwYSZb41CyidNbB8giNM+9oXhmVHHm5bJjUSAABBgDKKiwMMUxPwgAAAABJRU5ErkJggg==
TrishaPatel commented 4 years ago

it should be like below code table.index_table thead th.sortable a { // Resolve https://github.com/formaweb/formadmin/issues/25 until a fix is merged. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAABGCAYAAAAAVo4aAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpi3LhlOwMU1AExGxDXwARYoHQLEFdD2cxAXAliMKFJgEAFEHfBJEHGMKLhMpgkTsAEdch/NNwCk2xCdiEQtML4LEgCf6EubUX3Cgh0oNvJ+P//f7wOGpUclRwYSZb41CyidNbB8giNM+9oXhmVHHm5bJjUSAABBgDKKiwMMUxPwgAAAABJRU5ErkJggg=="); }

Otherwise it will display lots of icons.