Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model display name fixes #319

Closed

Commits on Mar 10, 2011

  1. Fix for asset loading issue:

    When assets have been copied with rake admin:copy_assets, then rails_admin should NOT insert
    another ActionDispatch::Static middleware, because it eclipses Rails's native middleware and assets
    are loaded from rails_admin's public folder instead of the application's public folder.
    Fixed by checking if any of the rails_admin subdirectories exist in any of the static asset classes
    (images, javascripts, stylesheets).
    Also, if the middleware is inserted, it should be done AFTER, not IN FRONT of Rails's own static asset
    middleware, to permit precedence to the application's public folder over the gem's.
    papercheck committed Mar 10, 2011
    Configuration menu
    Copy the full SHA
    1cd52f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2011

  1. Merge in sferik/master which had the same fix for static asset loadin…

    …g, but didn't check for the files to be present,
    
    which is cool.
    Wolfram Arnold committed Mar 11, 2011
    Configuration menu
    Copy the full SHA
    dd46110 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2011

  1. Merge remote branch 'sferik/master'

    Wolfram Arnold committed Mar 14, 2011
    Configuration menu
    Copy the full SHA
    51d73f3 View commit details
    Browse the repository at this point in the history
  2. Fix display bug on dashboard page:

    Model name in table is now using label override if present.
    Wolfram Arnold committed Mar 14, 2011
    Configuration menu
    Copy the full SHA
    e88e7ea View commit details
    Browse the repository at this point in the history
  3. Fix display bug on list page:

    @page_name should use overridden model name.
    Same for breadcrumbs.
    Spec coverage added.
    Wolfram Arnold committed Mar 14, 2011
    Configuration menu
    Copy the full SHA
    aedb196 View commit details
    Browse the repository at this point in the history
  4. Fixed several other references to model name for delete and history,

    where @model_config.list.label was called, but @model_config.navigation.label should
    have been called.
    Wolfram Arnold committed Mar 14, 2011
    Configuration menu
    Copy the full SHA
    cad2d02 View commit details
    Browse the repository at this point in the history