Skip to content

Instantly share code, notes, and snippets.

@Marchino
Created April 19, 2012 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marchino/2420140 to your computer and use it in GitHub Desktop.
Save Marchino/2420140 to your computer and use it in GitHub Desktop.
admin resolver
module Mmplus
module Resolvers
module Admin
class AdminResolver < ::ActionView::FileSystemResolver
def initialize
super("app/views")
end
def find_templates(name, prefix, partial, details)
super(name, "admin/shared", partial, details)
end
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment