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

Extract search header logic into partial. #1974

Merged
merged 1 commit into from Sep 27, 2012
Merged

Extract search header logic into partial. #1974

merged 1 commit into from Sep 27, 2012

Conversation

ugisozols
Copy link
Member

No description provided.

@@ -1,6 +1,5 @@
<%%= render 'refinery/admin/search_header', :url => refinery.<%= namespacing.underscore %>_admin_<%= plural_name %>_path %>
<%% if searching? %>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will cause the if condition to be evaluated twice, right? Not sure there's any way around that though..

@parndt parndt merged commit e19785f into master Sep 27, 2012
ugisozols added a commit that referenced this pull request Nov 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants