I have a code:
ActiveAdmin.register MyTable do controller
def edit #---This code doesn't work render :template=>"myEditTemplate.html",:layout =>"active_admin" end def new #--code in this section works fine render :template=>"myNewTemplate.html",:layout =>"active_admin" end
end
I want my edit template code under the heading to be: Http: // * / admin / tuBaE / 1 / edit BUT activeadmin does not see me my code / It shows the code with its own template, not mine Why?
source share